This page documents an earlier version of Telegraf.
Telegraf v1.23 is the latest stable version.
The Telegraf configuration file (telegraf.conf) lists all available Telegraf plugins. See the current version here: telegraf.conf.
Generate a configuration file A default Telegraf configuration file can be auto-generated by Telegraf:
telegraf config > telegraf.conf To generate a configuration file with specific inputs and outputs, you can use the –input-filter and –output-filter flags:
telegraf –input-filter cpu:mem:net:swap –output-filter influxdb:kafka config Configuration file locations The location of the configuration file can be set via the –config command line flag.
How to configure Telegraf as a Windows service.
This guide will show you how to capture Telegraf output, submit sample metrics, and see how Telegraf formats and emits points to its output plugins.
Capture output A quick way to view Telegraf output is by enabling a new UDP output plugin to run in parallel with the existing output plugins. Since each output plugin creates its own stream, the already existing outputs will not be affected. Traffic will be replicated to all active outputs.
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community!
We welcome and encourage your feedback and bug reports for Telegraf and this documentation.
To find support, use the following resources:
InfluxDB Cloud customers can contact InfluxData Support.