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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...