Getting Data In

How to troubleshoot why I'm not getting any data from our Splunk forwarder for these perfmon counters?

steveskinner
New Member

Hi,

I'm trying to get Splunk to return the below Perfmon Counters, but am getting no results:

\SQLServer:Locks(*)\Number of Deadlocks/sec
\SQLServer:Locks(*)\Average Wait Time (ms)
\SQLServer:Databases(*)\Log Flushes/sec

Below is part of my inputs.conf for the above counters:

[perfmon://SQLServer:Locks]
object = SQLServer:Locks
counters = Number of Deadlocks/sec; Average Wait Time (ms);
instances = _Total
interval = 30
disabled = 0
index=bluedoor_****_perfmon


[perfmon://SQLServer:Databases]
object = SQLServer:Databases
counters = Log Flushes/sec;
instances = _Total
interval = 30
disabled = 0
index=bluedoor_****_perfmon

My other counters are returning data, but not these (Splunk Forwarder has been restarted etc)?
Am I doing something wrong for these counters?

Kind Regards

Steve

0 Karma
1 Solution

muebel
SplunkTrust
SplunkTrust

Hi steveskinner, from my experience, the perfmon input is case sensitive, and the stanza name, object, and counter configurations must line up exactly with what is on the system. Given that Splunk can read at least some of the perfmon counters (i.e., has permission to perfmon in general), I'd expect that there is an issue with the config. My recommendation is to look very carefully at the config. I've used powershell to help troubleshoot this in the past : https://www.simple-talk.com/sysadmin/powershell/powershell-day-to-day-admin-tasks-monitoring-perform...

That can be helpful for getting printouts of the names involved.

Please let me know if this helps!

View solution in original post

muebel
SplunkTrust
SplunkTrust

Hi steveskinner, from my experience, the perfmon input is case sensitive, and the stanza name, object, and counter configurations must line up exactly with what is on the system. Given that Splunk can read at least some of the perfmon counters (i.e., has permission to perfmon in general), I'd expect that there is an issue with the config. My recommendation is to look very carefully at the config. I've used powershell to help troubleshoot this in the past : https://www.simple-talk.com/sysadmin/powershell/powershell-day-to-day-admin-tasks-monitoring-perform...

That can be helpful for getting printouts of the names involved.

Please let me know if this helps!

steveskinner
New Member

Hi,

You are correct after checking through the search string I could see I had missed the 'S' off of 'Databases' and the other counters needed some activity to populate - many thanks for your quick response

Kind regards

Steve

0 Karma

muebel
SplunkTrust
SplunkTrust

glad to help! 😄

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 ...