influxdata / docs-v2

InfluxData Documentation that covers InfluxDB Cloud, InfluxDB OSS 2.x, InfluxDB OSS 1.x, InfluxDB Enterprise, Telegraf, Chronograf, Kapacitor, and Flux.
https://docs.influxdata.com
MIT License
72 stars 271 forks source link

command required -o org #5575

Open aaronhackney opened 2 months ago

aaronhackney commented 2 months ago

Describe the issue here.

Relevant URLs

The sample command gave me an error until I included the org name influx telegrafs create \ -n <telegraf-config-name> \ -d <telegraf-config-description> \ -f /path/to/telegraf.conf Throws error: Error: must specify org ID or org name

Adding -o <orgname> succeeds. We should change the docs to say:

influx telegrafs create \ -n <telegraf-config-name> \ -d <telegraf-config-description> \ -o <influxdb-org-name> -f /path/to/telegraf.conf

jstirnaman commented 2 months ago

It likely assumes you've set environment variables.Thanks for calling this out!