View Telegraf configurations
This page documents an earlier version of InfluxDB. InfluxDB v2.7 is the latest stable version. View this page in the v2.7 documentation.
Use the InfluxDB user interface (UI) or the influx CLI to view and download InfluxDB Telegraf configurations.
To view Telegraf configurations, do one of the following:
Use the InfluxDB UI
In the navigation menu on the left, select Data (Load Data) > Telegraf.
Load Data
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.
View setup instructions
To view the setup instructions for a Telegraf configuration, click Setup Instructions. Setup instructions include commands for adding your InfluxDB API token as an environment variable and starting Telegraf with the specific configuration.
Use the influx CLI
Use the influx telegrafs command to list Telegraf configurations stored in InfluxDB.
influx telegrafs