/
Telegraf - output to disk for debugging
Telegraf - output to disk for debugging
You can easily change the Telegraf output to disk, to verify that the data collection is working properly.
To enable output to disk, uncomment or add the following section to your Telegraf config in the “OUTPUT PLUGINS” section
###############################################################################
# OUTPUT PLUGINS #
###############################################################################
# # Send telegraf metrics to file(s). Enable for debugging
[[outputs.file]]
## Files to write to, "stdout" is a specially handled file.
files = ["stdout", "output.txt"]
data_format = "json"
Save the config file and restart Telegraf to enable output to disk
, multiple selections available,