docs-v2/content/v2.0/telegraf-configs/view.md

46 lines
1.5 KiB
Markdown
Raw Normal View History

2019-03-01 18:11:44 +00:00
---
title: View Telegraf configurations
2019-03-01 18:11:44 +00:00
description: >
Use the InfluxDB user interface (UI) or the [`influx` CLI](/v2.0/reference/cli/influx/)
to view and download InfluxDB Telegraf configurations.
weight: 102
2019-03-01 18:11:44 +00:00
menu:
v2_0:
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
---
Use the InfluxDB user interface (UI) or the [`influx` CLI](/v2.0/reference/cli/influx/)
to view and download InfluxDB Telegraf configurations.
To view Telegraf configurations, do one of the following:
- [Use the InfluxDB UI](#use-the-influxdb-ui)
- [Use the `influx` CLI](#use-the-influx-cli)
## Use the InfluxDB UI
In the navigation menu on the left, select **Data** (**Load Data**) > **Telegraf**.
2019-03-01 18:11:44 +00:00
{{< nav-icon "load data" >}}
2019-03-01 18:11:44 +00:00
### View and download the telegraf.conf
To view the `telegraf.conf` associated with the configuration,
click the **Name** of the configuration.
Then click **Download Config** to download the file.
2019-03-01 18:11:44 +00:00
### View setup instructions
To view the setup instructions for a Telegraf configuration, click **Setup Instructions**.
Setup instructions include commands for adding your InfluxDB authentication token
as an environment variable and starting Telegraf with the specific configuration.
## 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
```