Getting Data In

perfmon is not working

john
Communicator

hi,

I want to know how perfmon.cof is working.Since i want to use that for monitoring CPU utilization.I want to know is that feasible to use perfmon for this.

This is my perfmon.conf and i have run this query in search index="os"
but it didnt return any result.So please tell me wether any other configration i need to do to make this work.Since i could not find anything in doc.

perfmon.cof

[PERFMON:LocalPhysicalDisk]
interval = 0
object = PhysicalDisk
counters = Disk Bytes/sec; % Disk Read Time; % Disk Write Time; % Disk Time
instances = *
disabled = 0
index = PerfMon

[PERFMON:LocalMainMemory]
interval = 5
object = Memory
counters = Committed Bytes; Available Bytes; % Committed Bytes In Use
disabled = 0
index = os

[PERFMON:USBChanges]
interval = 10
object = USB
counters = Usb Control Data Bytes/Sec
instances = *
disabled = 0

Thanks,

Tags (2)
0 Karma

yannK
Splunk Employee
Splunk Employee

First of all, the filename should be perfmon.conf not perfmon.cof

to troubleshoot:

  • Please try to specify the case sensitive indexes
    index = PerfMon OR index=os OR index=main
    • and if you don't see anything, search for perfmon errors in splunk logs
      index=_internal source=*splunkd.log perfmon
      
    • finally, double check that splunk service is running under an user with system permission to call the performance monitor.
0 Karma

john
Communicator

even these indexes are also not created PerfMon and Os.

0 Karma

john
Communicator

Hi yank thank for your answer.The second query is running fine in my search.But the first query that u mentioned is not working what could be the issues since i need the cpu usage details instead of splunk performance details please guide me on this

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...