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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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