Skip to content

Setting up Grafana dashboard to visualize Perfmon logs

Adarsha edited this page Sep 4, 2017 · 3 revisions

About Perfmon

Performance Monitor is Microsoft Windows native system monitoring utility. Performance Monitor is installed automatically during Windows setup, and is available by running perfmon.exe

You can setup various counters at various sampling rates, and log the values into a csv file. Just follow the steps here

IN this tutorial, we will setup a simple dashboard to visualize every single performance metrics collected.

1. Tools

a) Influx DB – Open source time series database, for storing Perfmon data b) Influxer – To parse Perfmon data into Influx db c) Grafana – Open source graphing engine and data visualizer

The tools help to visualize the data, and correlate different data points with each other.

2. Download tools

Links for tools as of time writing this. Download the latest version of the tools as open source tools change faster.

  1. Grafana

  2. InfluxDB

  3. Influxer

Place all tools in one folder

All files in one folder

Extract files in below zip

3. Initial setup tools

3.1 Launch Tools

  1. Launch Influx db engine
  2. Launch Grafana

3.2 Setup data source in Grafana

  1. Open grafana http://localhost:3000/
  2. Add influxdb datasource follow grafana guide

4. Import Perfmon logs

Make sure you have Influx process running. Then you can import the perfmon logs directly. If you want to pull every single counter to grafana, its just

Influxer.exe -input "path to csv file"

5. Setup dashboard

Import the dashboard templates by saving content of this wikipage to a .json file (Dashboards - > Import)