Splunk Search

number of threads

smolcj
Builder

Hi all,
I have an eventtype called threads. how can i find the number of threads in it? suppose under eventtype threads i have
a1
a2
a11
a12
a111.. etc....
please help.. thank you for your time 🙂

Tags (1)
0 Karma
1 Solution

smolcj
Builder

search | stats dc(threads) AS count by eventtype

View solution in original post

0 Karma

smolcj
Builder

search | stats dc(threads) AS count by eventtype

0 Karma

Damien_Dallimor
Ultra Champion

I don't totally comprehend your question.

Do searches like these help ?

eventtype="threads" | stats count

or to group the count by each thread(assumes those examples above are threadID's extracted to a field named threadID)

eventtype="threads" | stats count by threadID

smolcj
Builder

Thanks Damien

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...