Windows System Statistics (winstat)
The Windows System Statistics (winstat) input plugin collects system-level statistics from Windows environments, including CPU usage, memory consumption, disk I/O, and network activity. This plugin uses Windows Performance Counters to gather real-time system metrics.
Configuration parameters
The plugin supports the following configuration parameters:
Interval_Sec
Polling interval in seconds.
1
Interval_NSec
Polling interval in nanoseconds.
0
Metrics collected
The winstat plugin collects the following system statistics:
CPU
CPU usage percentage, including user and system time.
Memory
Memory usage including total, available, and used memory.
Disk
Disk I/O statistics including read/write operations and throughput.
Network
Network interface statistics including bytes sent/received and packet counts.
Get started
To collect Windows system statistics, you can run the plugin from the command line or through the configuration file:
Command line
You can run the plugin from the command line:
Which returns information similar to the following:
Configuration file
In your main configuration file append the following:
Total interval (sec) = Interval_Sec + (Interval_NSec / 1000000000)
For example: 1.5s = 1s + 500000000ns
Last updated
Was this helpful?