Various edits to use-telegraf docs

- Add word in instructions to delete telegraf config
- Regularize "line protocol" capitalization
- Edit token storing advice
pull/527/head
pierwill 2019-10-22 14:36:22 -07:00
parent 35895eb439
commit 8047eee4fb
3 changed files with 7 additions and 8 deletions

View File

@ -18,7 +18,7 @@ To delete a Telegraf configuration:
2. Select **Telegraf**.
3. Hover over the configuration you want to delete, click the **{{< icon "trash" >}}**
icon, and **Delete**.
icon, and click **Delete**.
{{% note %}}
Deleting a Telegraf configuration does not affect _**running**_ Telegraf agents.

View File

@ -24,7 +24,8 @@ for using Telegraf with InfluxDB v2.0._
## Configure Telegraf input and output plugins
Configure Telegraf input and output plugins in the Telegraf configuration file (typically named `telegraf.conf`).
Input plugins collect metrics. Output plugins define destinations where metrics are sent.
Input plugins collect metrics.
Output plugins define destinations where metrics are sent.
_See [Telegraf plugins](/v2.0/reference/telegraf-plugins/) for a complete list of available plugins._
@ -54,10 +55,8 @@ Your InfluxDB v2.0 authorization token.
For information about viewing tokens, see [View tokens](/v2.0/security/tokens/view-tokens/).
{{% note %}}
#### Avoid storing tokens in plain text
InfluxData does not recommend storing authentication tokens in plain text in the `telegraf.conf`.
A secure alternative is to set the `INFLUX_TOKEN` environment variable and include
it into your configuration file.
###### Avoid storing tokens in `telegraf.conf`
We recommend storing your tokens by setting the `INFLUX_TOKEN` environment variable and including the environment variable in your configuration file.
{{< tabs-wrapper >}}
{{% tabs %}}

View File

@ -393,7 +393,7 @@ input:
id: exec
description: |
The Exec input plugin parses supported [Telegraf input data formats](https://docs.influxdata.com/telegraf/latest/data_formats/input/)
(InfluxDB Line Protocol, JSON, Graphite, Value, Nagios, Collectd, and Dropwizard) into metrics.
(line protocol, JSON, Graphite, Value, Nagios, Collectd, and Dropwizard) into metrics.
Each Telegraf metric includes the measurement name, tags, fields, and timestamp.
link: https://github.com/influxdata/telegraf/blob/master/plugins/inputs/exec/README.md
introduced: 0.1.5
@ -564,7 +564,7 @@ input:
id: http_listener_v2
description: |
The HTTP Listener v2 input plugin listens for messages sent via HTTP POST.
Messages are expected in the [InfluxDB Line Protocol input data format](https://docs.influxdata.com/telegraf/latest/data_formats/input/influx)
Messages are expected in [line protocol format](https://docs.influxdata.com/telegraf/latest/data_formats/input/influx)
ONLY (other [Telegraf input data formats](https://docs.influxdata.com/telegraf/latest//data_formats/input/) are not supported).
This plugin allows Telegraf to serve as a proxy or router for the `/write` endpoint of the InfluxDB v2110 HTTP API.
link: https://github.com/influxdata/telegraf/blob/master/plugins/inputs/http_listener_v2/README.md