The procedure for setting up the telegraf to parse log files. Currently a configuration file has been written to parse QE logs.
References:
- Running Telegraf as a Windows service - Official Documentation
-
Download the telegraf distribution for windows.
-
Either download the telegraf.conf configuration file from the github repo for the lab system you wish to setup or grab the telegraf.conf file you created in the Config File Setup.
-
Create the directory
C:\Program Files\Telegraf
-
Place both the telegraf.exe that was downloaded in step 1 and the config file downloaded in step 2 into
C:\Program Files\Telegraf
-
As administrator run powershell and run the command
C:\"Program Files"\Telegraf\telegraf.exe --service install
-
To start telegraf run the command
net start telegraf