1.2 KiB
1.2 KiB
title | description | weight | menu | influxdb/v2.0/tags | aliases | related | ||||
---|---|---|---|---|---|---|---|---|---|---|
Telegraf configurations | placeholder | 12 | influxdb_2_0 |
|
|
|
InfluxDB lets you automatically generate Telegraf configurations or upload customized Telegraf configurations that collect metrics and write them to InfluxDB. Telegraf retrieves configurations from InfluxDB on startup.
Use InfluxDB Telegraf configurations
With a Telegraf configuration stored in InfluxDB, the telegraf
agent can retrieve
the configuration from an InfluxDB HTTP(S) endpoint.
-
Ensure Telegraf has network access to InfluxDB (OSS or Cloud).
-
Start the
telegraf
agent using the--config
flag to provide the URL of the InfluxDB Telegraf configuration. For example:telegraf --config http://localhost:9999/api/v2/telegrafs/<telegraf-config-id>
{{% note %}} Setup instructions for each Telegraf configuration are provided in the InfluxDB UI. {{% /note %}}
Manage Telegraf configurations
{{< children >}}