clarified telegraf/cloud connections, resolves #481

pull/491/head
Scott Anderson 2019-09-23 10:31:21 -06:00
parent ce707861cb
commit 7b49273d6c
2 changed files with 11 additions and 3 deletions

View File

@ -70,7 +70,10 @@ export INFLUX_TOKEN=YourAuthenticationToken
Start the Telegraf service using the `-config` flag to specify the URL of your generated configuration file.
Telegraf starts using the Telegraf configuration pulled from InfluxDB API.
_See the configuration **Setup Instructions** for the exact command._
{{% note %}}
InfluxDB host URLs and ports differ between InfluxDB OSS and InfluxDB Cloud.
For the exact command, see the Telegraf configuration **Setup Instructions** in the InfluxDB UI.
{{% /note %}}
```sh
telegraf -config http://localhost:9999/api/v2/telegrafs/0xoX00oOx0xoX00o

View File

@ -40,8 +40,11 @@ An array of URLs for your InfluxDB v2.0 instances.
_By default, InfluxDB runs on port `9999`._
{{% cloud-msg %}}
To write data to an {{< cloud-name "short" >}} instance, use the URL of your {{< cloud-name "short" >}}
user interface (UI).
###### {{< cloud-name "short" >}} URL
To write data to an {{< cloud-name "short" >}} instance, use the URL of your
{{< cloud-name "short" >}} user interface (UI).
{{< cloud-name >}} requires HTTPS.
For example: <code>https:<nolink>//us-west-2-1.aws.cloud2.influxdata.com</code>
{{% /cloud-msg %}}
@ -69,6 +72,8 @@ The name of the organization that owns the target bucket.
The name of the bucket to write data to.
#### Example influxdb_v2 configuration
The example below illustrates `influxdb_v2` configurations that write to InfluxDB OSS or {{< cloud-name >}}.
{{< code-tabs-wrapper >}}
{{% code-tabs %}}
[InfluxDB OSS](#)