From 3491d38e9991fd85185a79f3c79a92adcad1a854 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Wed, 25 Nov 2020 20:29:11 -0700 Subject: [PATCH] updates to address PR feedback --- .../v2.0/reference/cli/influx/write/_index.md | 10 ++-------- data/telegraf_plugins.yml | 12 ++++++------ 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/content/influxdb/v2.0/reference/cli/influx/write/_index.md b/content/influxdb/v2.0/reference/cli/influx/write/_index.md index 56a4f53bd..707339e12 100644 --- a/content/influxdb/v2.0/reference/cli/influx/write/_index.md +++ b/content/influxdb/v2.0/reference/cli/influx/write/_index.md @@ -20,14 +20,8 @@ related: The `influx write` command writes data to InfluxDB via stdin or from a specified file. Write data using [line protocol](/influxdb/v2.0/reference/syntax/line-protocol), [annotated CSV](/influxdb/v2.0/reference/syntax/annotated-csv), or -[extended annotated CSV](/influxdb/v2.0/reference/syntax/annotated-csv/). - -{{% note %}} -When writing CSV data, the `influx write` command uses CSV annotations to -translate the data into line protocol. -For more information about CSV annotations, see [annotated CSV](/influxdb/v2.0/reference/syntax/annotated-csv) -and [extended annotated CSV](/influxdb/v2.0/reference/syntax/annotated-csv/). -{{% /note %}} +[extended annotated CSV](/influxdb/v2.0/reference/syntax/annotated-csv/extended/). +If you write CSV data, CSV annotations determine how the data translates into line protocol. ## Usage ``` diff --git a/data/telegraf_plugins.yml b/data/telegraf_plugins.yml index 7ac1311b1..f18155492 100644 --- a/data/telegraf_plugins.yml +++ b/data/telegraf_plugins.yml @@ -638,7 +638,7 @@ input: To collect data on an InfluxDB 2.x instance running on localhost, the configuration for the Prometheus input plugin would be: - +
```toml @@ -653,7 +653,7 @@ input: id: influxdb_listener description: | The InfluxDB Listener input plugin listens for requests sent - according to the [InfluxDB HTTP API](/influxdb/v1.8/guides/writing_data/). + according to the [InfluxDB HTTP API](/influxdb/v1.8/guides/write_data/). The intent of the plugin is to allow Telegraf to serve as a proxy, or router, for the HTTP `/write` endpoint of the InfluxDB HTTP API. @@ -662,8 +662,8 @@ input: > > This plugin is compatible with **InfluxDB 1.x** only. - The `/write` endpoint supports the `precision` query parameter and can be set - to one of `ns`, `u`, `ms`, `s`, `m`, `h`. All other parameters are ignored and + The `/write` endpoint supports the `precision` query parameter and can be + set to `ns`, `u`, `ms`, `s`, `m`, `h`. Other parameters are ignored and defer to the output plugins configuration. When chaining Telegraf instances using this plugin, `CREATE DATABASE` requests @@ -681,8 +681,8 @@ input: The intent of the plugin is to allow Telegraf to serve as a proxy, or router, for the HTTP `/api/v2/write` endpoint of the InfluxDB HTTP API. - The `/api/v2/write` endpoint supports the `precision` query parameter and can be set - to one of `ns`, `u`, `ms`, or `s`. All other parameters are ignored and + The `/api/v2/write` endpoint supports the `precision` query parameter and + can be set to `ns`, `u`, `ms`, or `s`. Other parameters are ignored and defer to the output plugins configuration. introduced: 1.16.0 tags: [linux, macos, windows, data-stores]