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!

Deep insights, no barriers: Splunk Observability Cloud Free Edition

As software delivery cycles continue to accelerate, observability shouldn’t be a luxury — it should be a ...

Monitoring AI Agents with Splunk Observability Cloud

Let’s say I’m running a travel planning AI app in production. A user asks for three concise hotel options in ...

[Puzzles] Solve, Learn, Repeat: Tiling

This puzzle (first published here) is based on finding groups of tessellated tiles (inspired by floor tiles I ...