Splunk Search

Can i know the results retrieved for each search query ?

rakesh_498115
Motivator

Hi.

I have search query that query returns certains fields . these information will vary according to the realtime data input.Now my question can i search know the search results count for each and every search query..

i.e in SQL for every search we will have some thing like 14 records found like that..can i know the count for each search results along with my fields..

sample output::

ResultsRetrived Field1 Field2
4 a g
4 g e
4 h r
4 q r

Here 4 is the total no results that are retrived for my search query ?? how can i do this ..please help..

thanx

Tags (1)
0 Karma

gargit
New Member

Did you find solution for this ? - Gargi

0 Karma

rakesh_498115
Motivator

Yeah Gargi ..In the HTML Module ..if we use $results.count$ it will give us the count of the search results..

0 Karma
Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...