Telegraf Agent Setup for Windows Server

Step 1 – Download Agent in Windows

  • https://portal.influxdata.com/downloads/

wget https://dl.influxdata.com/telegraf/releases/telegraf-1.21.1_windows_amd64.zip -UseBasicParsing -OutFile telegraf-1.21.1_windows_amd64.zip
Expand-Archive .\telegraf-1.21.1_windows_amd64.zip -DestinationPath 'C:\Program Files\InfluxData\telegraf'

Step 2 – Configuring Telegraf


PS> mkdir 'C:\Program Files\telegraf\conf'
PS> cd 'C:\Program Files\telegraf\conf'
# Create inputs.conf
# Create output.conf

Detailed

https://docs.influxdata.com/influxdb/v2.1/write-data/no-code/use-telegraf/

Step 3 – Start Telegraf


PS> telegraf --service install --config-directory 'C:\Program Files\telegraf\conf'

Example of Telegraf.conf

Rajesh Kumar
Follow me
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x