Reporting

Scheduled search shows event count but no events

shanleyj
Explorer

I have setup a number of scheduled searches to run using the cron setting. When I inspect these via the Jobs window I can see the completed search. I click on the link which brings up the standard Splunk search view. The number of events found is listed (e.g. 70000 matching events), however the events are not listed in detail - i.e. there is no data other than the number of events found. Have I done something wrong? Surely I should be able to retrieve the full event data for the search?

lguinn2
Legend

I wonder if it's because you have exceeded the maximum number of results. Take a look at the default file limits.conf in $SPLUNK_HOME/etc/system/default

There should be a stanza in limits.conf that looks like this:

[stats]
maxresultrows = 50000

You can change this if you are exceeding the limit. Create a limits.conf file in $SPLUNK_HOME/etc/system/local that contains

[stats]
maxresultrows = 100000

Now see if your saved searches work as you expect. Another thing to think about - can you summarize the results in some way? It seems like a list of 70,000 events is not really that useful in and of itself, but then I don't know what you need to do with the list.

0 Karma
Get Updates on the Splunk Community!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...