Splunk Search

How to create a dashboard that will calculate searches per minute on each search head?

sravankaripe
Communicator

We have X-numbers of search heads. i want to create a dashboard which will calculate searches per minute on each Splunk search head. So please help me with the search query.

0 Karma
1 Solution

dkeck
Influencer

Hallo,

maybe try this

index=_audit action="search" search="*" NOT user="splunk-system-user" savedsearch_name="" NOT search="\'|history*" NOT search="\'typeahead*" | timechart span=1m count by host

But take care about the span 1m is maybe to much and could end in "The specified span would result in too many (>50000) rows."

Pls note this will exclude saved searches

You can also exculde summary searches by adding NOT search="'summarize*"

Kind Regards

View solution in original post

0 Karma

dkeck
Influencer

Hallo,

maybe try this

index=_audit action="search" search="*" NOT user="splunk-system-user" savedsearch_name="" NOT search="\'|history*" NOT search="\'typeahead*" | timechart span=1m count by host

But take care about the span 1m is maybe to much and could end in "The specified span would result in too many (>50000) rows."

Pls note this will exclude saved searches

You can also exculde summary searches by adding NOT search="'summarize*"

Kind Regards

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 ...