Monitoring Splunk

Splunking custom windows performance counters

richnavis
Contributor

Our developers have created a custom Windows performance counter for an in-house application. I can see the Object and Counter using Windows Perfmon, but I am not able to collect the data using splunk. We have many performance counters being collected by splunk, so I am quite familiar with the syntax to set this up. Any one have any thoughts around why this would not work? I do not get any errors on my splunkd.config on startup.

iaintealecapite
Explorer

Check whether you can access the counters using perfmon on the local machine (assuming you have a forwarder on the local machine that is doing the collection). You may also need to use the 64 bit or 32 bit version of perfmon depending on whether your application is 64 bit or 32 bit.

Sometimes the alignment of the counters gets corrupt and you need to rebuild the counter definitions in the registry.

Another point is that the Splunk forwarder must have sufficient privileges to access the perfmon data (typically needs to run with an account that has local administrator rights).

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...