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!

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