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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...