Hi team,
I am new to influxdb and telegraf concepts, anyhow i have setup my local telegraf server and trying to setup the telegraf to push cpu data usage, but when i try to run API token generated by the influxdb server i ran into error, can someone advise me whats missing here. For more details please see the attached snap, thanks all
is the telegraf agent running on windows?
If yes, then the export keyword won’t be recognized, that’s a Linux/unix thing.
It seems that the docs for how to configure and run telegraf on windows is a bit thin.
The simplest option is to put the INFLUX_TOKEN variable inside your config file “c:\>Program Files\Telegraf\telegraf.conf”
This blog post also has a number of other helpful examples and info
1 Like