Merge pull request #900 from influxdata/telegraf-manual-plugins

Step-by-step for manually adding Telegraf plugins
pull/917/head
noramullen1 2020-04-01 14:31:34 -07:00 committed by GitHub
commit 05d1f421eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 1 deletions

View File

@ -42,6 +42,11 @@ for using Telegraf with InfluxDB v2.0._
Plugins listed with a <span style="color:#32B08C">{{< icon "check" >}}</span>
require no additional configuration.
To configure a plugin or access plugin documentation, click the plugin name.
{{% note %}}
Not all available plugins are listed on this screen. For more information on manually configuring additional plugins, see [Manually add Telegraf plugins](/v2.0/write-data/use-telegraf/manual-config/).
{{% /note %}}
8. Provide a **Telegraf Configuration Name** and an optional **Telegraf Configuration Description**.
9. Click **Create and Verify**.
10. The **Test Your Configuration** page provides instructions for how to start

View File

@ -11,6 +11,7 @@ menu:
v2_0:
parent: Use Telegraf
weight: 202
v2.0/tags: [manually, plugin, mqtt]
---
Use the Telegraf `influxdb_v2` output plugin to collect and write metrics into an InfluxDB v2.0 bucket.
@ -29,7 +30,15 @@ Output plugins define destinations where metrics are sent.
_See [Telegraf plugins](/v2.0/reference/telegraf-plugins/) for a complete list of available plugins._
## Enable and configure the InfluxDB v2 output plugin
### Manually add Telegraf plugins
To manually add any of the available Telegraf plugins [Telegraf plugins](/v2.0/reference/telegraf-plugins/), follow the steps below.
1. Find the plugin you want to enable from the complete list of available [Telegraf plugins](/v2.0/reference/telegraf-plugins/).
2. Click **View** to the right of the plugin name to open the plugin page on GitHub. For example, view the MQTT plugin GitHub page [here](https://github.com/influxdata/telegraf/blob/release-1.14/plugins/inputs/mqtt_consumer/README.md).
3. Copy and paste the example configuration into your Telegraf configuration file (typically named `telegraf.conf`).
### Enable and configure the InfluxDB v2 output plugin
To send data to an InfluxDB v2.0 instance, enable in the
[`influxdb_v2` output plugin](https://github.com/influxdata/telegraf/blob/master/plugins/outputs/influxdb_v2/README.md)

BIN
static/img/mqtt-plugin.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB