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!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...