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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...