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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...