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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...