All Apps and Add-ons

How to filter specfic Windows CPU counters?

plarsenDST
Explorer

Is there a way to filter out Windows counters we don't care about to save license usage?
As an example, I don't want % C1 Time; % C2 Time; AND % C3 Time; indexed.

Or is it an all or nothing type of thing with Windows CPU ?

[perfmon://CPU]
counters = % Processor Time; % User Time; % Privileged Time; Interrupts/sec; % DPC Time; % Interrupt Time; DPCs Queued/sec; DPC Rate; % Idle Time; **% C1 Time; % C2 Time; % C3 Time;** C1 Transitions/sec; C2 Transitions/sec; C3 Transitions/sec
disabled = 0
instances = *
interval = 120
object = Processor
useEnglishOnly=true
index = perfmon
0 Karma

adonio
Ultra Champion

sure thing,

remove them from the inputs stanza

   [perfmon://CPU]
    counters = % Processor Time; % User Time; % Privileged Time; Interrupts/sec; % DPC Time; % Interrupt Time; DPCs Queued/sec; DPC Rate; % Idle Time; C1 Transitions/sec; C2 Transitions/sec; C3 Transitions/sec
    disabled = 0
    instances = *
    interval = 120
    object = Processor
    useEnglishOnly=true
    index = perfmon

you can consider the interval as well

hope it helps

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...