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!

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...