top of page

LearningMilestone by Anuradha Agarwal is a one-stop place for coding classes for kids and workshops for teachers and parents and self-paced courses, a blog for everyone to learn python programming with a personalized approach by an experienced instructor with a decade of experience in the software industry.

  • Writer's pictureAnuradha Agarwal

Setup Telegraf on Windows

In this post, steps to set up Telegraf on windows are detailed.

To visit more such posts, follow: #RealTimeMonitoring #PerformanceTesting

Telegraf is a collecting agent which periodically queries data source, for example, MySQL, Perfmon, etc and sends collected data to a destination, for example to InfluxDB time-series database. We should have an output source already in place which is InfluxDB in this post. Let's set up telegraf on windows.



Step 1 - Download Telegraf

Step 2 - Extract to Program Files

Step 3 - Run Telegraf as Service

  • In a newly opened window, scroll to window version.

  • Paste URL in the browser

  • Zip folder would be downloaded

  • Open command prompt as admin

  • Create a directory under ProgramFiles

mkdir Telegraf
  • Extract contents of the downloaded folder from the previous step to the Telegraf directory

  • Open a command prompt as admin.

  • Go to "C:\Program Files\Telegraf"

  • Give the command to install telegraf service

 telegraf.exe --service install
  • Give the command to run telegraf service

net start telegraf

As a result, you should see below in window services(Win+ R -->services.msc)

In case you face any issues in starting the service, go Event Viewer --> Window Logs-->Applications and check for error related to telegraf

2,785 views0 comments

Recent Posts

See All


bottom of page