Installing telegraf on Windows - TheMadVanguard/Grafana_Stuff GitHub Wiki

You can download the latest version of telegraf from their https://github.com/influxdata/telegraf/releases I would recommend creating a folder within C:/Program Files/ and extracting the content inside.

From a console window, as an administrator, we need to launch the following:

"C:\Program Files\Telegraf\telegraf.exe" --service install

And with this we would have telegraph installed, to start it, we can launch it using the config with the following command:

"C:\Program Files\Telegraf\telegraf.exe" --config "C:\Program Files\Telegraf\telegraf.conf" --test

Once you have finished testing you can start the service with:

net start telegraf