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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...