Getting Data In

splunk-perfmon.exe won't start

rsantoso_splunk
Splunk Employee
Splunk Employee

The splunk-perfmon.exe process exits soon after start with no error being logged wither in the splunkd.log or in the windows event log.

There is error message in the event viewer:
Perflib 1008 error
(perfmon doesn’t open)

Tags (1)
0 Karma
1 Solution

rsantoso_splunk
Splunk Employee
Splunk Employee

1) Open a CMD via run as admin

2) Rebuild performance counters, run commands:

C:\Windows\system32\lodctr.exe /R
C:\Windows\SysWOW64\lodctr.exe /R

3) Now re-register the computer´s performance libraries with the following:

C:\Windows\System32\wbem\winmgmt.exe /RESYNCPERF
C:\Windows\SysWOW64\wbem\winmgmt.exe /RESYNCPERF

After perform this, the repair the perfmon metrics are now coming in.

Reference:
https://www.admin-enclave.com/en/articles/windows/306-resolved-the-open-procedure-for-service-bits-i...

View solution in original post

0 Karma

rsantoso_splunk
Splunk Employee
Splunk Employee

1) Open a CMD via run as admin

2) Rebuild performance counters, run commands:

C:\Windows\system32\lodctr.exe /R
C:\Windows\SysWOW64\lodctr.exe /R

3) Now re-register the computer´s performance libraries with the following:

C:\Windows\System32\wbem\winmgmt.exe /RESYNCPERF
C:\Windows\SysWOW64\wbem\winmgmt.exe /RESYNCPERF

After perform this, the repair the perfmon metrics are now coming in.

Reference:
https://www.admin-enclave.com/en/articles/windows/306-resolved-the-open-procedure-for-service-bits-i...

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!

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...

Laser Bananas and Edge Hubs: Exploring Operational Technology (OT) Data Through a ...

  OT is a different environment to traditional IT and can have interesting challenges when interfacing the ...

Event Series: Mastering AI Tokenomics and Splunk Agent Observability

Beyond the Black Box: Correlating AI Performance and Tokenomics with Splunk Agent Observability   As ...