Log parsing and forwarding to an InfluxDB database for logs from Q Exactive Mass Spectrometer using Telegraf.
The goal is to have real-time and historical monitoring of the QE's logbook and temperature logs so that machine performance and status can be evaluated.
-
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
- Running Telegraf as a Windows service - Official Documentation