What is Telegraf?
Telegraf is InfluxData’s time series data collection and reporting agent. Its main functionality is to collect data with the help of its plugins from a wide range of sources and to feed it to an InfluxDB database. It also can ingest data from InfluxDB databases and generate reports on them.
At the time of writing, it has more than 200 integrations, like Amazon ECS and Docker. You can see the full list here.
Using Telegraf with InfluxDB most importantly consists of configuring Telegraf either automatically or manually. Configurations are stored in
The following steps assume that you have Telegraf installed and running. If this is not the case, you can follow the instructions here.
You can set up a subset of Telegraf plugins automatically (for the rest, do manual configuration).
Steps in the InfluxDB UI:
- Open the Data screen from the navigation menu
- Select the Telegraf tab
- Select Create Configuration
- In the Bucket dropdown, choose the bucket to where you want to write the data
- Select the plugin groups you would like to use and click Continue. This will open a new window
- In the window, add a name and description (optional)
- If needed, configure the individual plugins within the group. (A green checkmark denotes plugins with no need of configuration)
- Click Create and Verify. This opens a test page.
- In the test page, follow the instructions to set up telegraf and click Listen to Data. This should result in a Connection Found! message.
- You can close the screen with the Finish button.
For using Telegraf with Window host monitoring, you may need to do some following configuration, see here.