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!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...