2019-03-01 18:11:44 +00:00
|
|
|
---
|
2020-07-23 20:25:40 +00:00
|
|
|
title: View Telegraf configurations
|
2019-03-01 18:11:44 +00:00
|
|
|
description: >
|
2020-07-23 21:45:40 +00:00
|
|
|
Use the InfluxDB user interface (UI) or the [`influx` CLI](/v2.0/reference/cli/influx/)
|
|
|
|
to view and download InfluxDB Telegraf configurations.
|
2020-07-23 20:25:40 +00:00
|
|
|
weight: 102
|
2019-03-01 18:11:44 +00:00
|
|
|
menu:
|
|
|
|
v2_0:
|
2020-07-23 20:25:40 +00:00
|
|
|
name: View configs
|
|
|
|
parent: Telegraf configurations
|
|
|
|
aliases:
|
|
|
|
- /v2.0/write-data/no-code/use-telegraf/auto-config/view-telegraf-config/
|
|
|
|
- /v2.0/collect-data/use-telegraf/auto-config/view-telegraf-config
|
2019-03-01 18:11:44 +00:00
|
|
|
---
|
|
|
|
|
2020-07-23 21:45:40 +00:00
|
|
|
Use the InfluxDB user interface (UI) or the [`influx` CLI](/v2.0/reference/cli/influx/)
|
2020-07-23 20:25:40 +00:00
|
|
|
to view and download InfluxDB Telegraf configurations.
|
|
|
|
|
2020-07-23 21:45:40 +00:00
|
|
|
To view Telegraf configurations, do one of the following:
|
|
|
|
|
2020-07-23 20:25:40 +00:00
|
|
|
- [Use the InfluxDB UI](#use-the-influxdb-ui)
|
|
|
|
- [Use the `influx` CLI](#use-the-influx-cli)
|
|
|
|
|
|
|
|
## Use the InfluxDB UI
|
2020-07-23 21:45:40 +00:00
|
|
|
In the navigation menu on the left, select **Data** (**Load Data**) > **Telegraf**.
|
2019-03-01 18:11:44 +00:00
|
|
|
|
2020-07-23 21:45:40 +00:00
|
|
|
{{< nav-icon "load data" >}}
|
2019-03-01 18:11:44 +00:00
|
|
|
|
2019-03-14 20:34:22 +00:00
|
|
|
### View and download the telegraf.conf
|
2020-07-23 21:45:40 +00:00
|
|
|
To view the `telegraf.conf` associated with the configuration,
|
2019-03-14 20:34:22 +00:00
|
|
|
click the **Name** of the configuration.
|
|
|
|
Then click **Download Config** to download the file.
|
2019-03-01 18:11:44 +00:00
|
|
|
|
2020-07-23 20:25:40 +00:00
|
|
|
### View setup instructions
|
|
|
|
To view the setup instructions for a Telegraf configuration, click **Setup Instructions**.
|
2019-03-14 20:34:22 +00:00
|
|
|
Setup instructions include commands for adding your InfluxDB authentication token
|
|
|
|
as an environment variable and starting Telegraf with the specific configuration.
|
2020-07-23 20:25:40 +00:00
|
|
|
|
|
|
|
## Use the influx CLI
|
|
|
|
Use the [`influx telegrafs` command](/v2.0/reference/cli/influx/telegrafs/) to
|
|
|
|
list Telegraf configurations stored in InfluxDB.
|
|
|
|
|
|
|
|
```sh
|
|
|
|
influx telegrafs
|
|
|
|
```
|