Hi, I have installed telegraf 1.26 on my linux machiene. Service is failing to start and getting the below error.
2023-03-28T05:11:04Z I! Loading config file: /etc/telegraf/telegraf.conf
2023-03-28T05:11:04Z E! error loading config file /etc/telegraf/telegraf.conf: line 1: configuration specified the fields [“token” “organization” “bucket” “urls”], but they weren’t used
hey am facing issue with the telegraf as my telegraf.conf file is
[[outputs.s3]]
region = “us-east-1”
bucket = “specyfeedbackbatch”
access_key = “AWS_ACCESS_KEY_ID”
secret_key = “AWS_SECRET_ACCESS_KEY”
It is best to start your own thread, rather than commenting on an old issue. The error message says there is an invalid TOML syntax on line 9 of your config. Run your config through a TOML validator and see what is wrong. My guess is your windows path needs to escape the backslashes: