Getting Data In

Scheduled saved Search that is meant to fill a Summary Index, runs but with no data

Dark_Ichigo
Builder

I have created a summary index and a saved search to run via cron configured in saved_searches.conf, the only issue is that its not running at the specified time and if it managed to run, it doesn't fill up the summary index, UNLESS I manually click on "Jobs" and select the scheduled saved search that's running in the background and run it my self, then it will be successfully filled.

What could be the reason for this behavior?

I have taken a look at some of the other questions but they don't seem to solve my issue.

Below is a copy of one of my scheduled saved Searches that isn't working:

[Search_Name]
action.email.inline = 1
action.summary_index = 1
action.summary_index._name = SummaryIndex
alert.severity = 2
alert.suppress = 1
alert.suppress.period = 1h
alert.track = 1
# run hourly
cron_schedule = 5 * * * *
description = <Description>
ased on MPM Logs
dispatch.earliest_time = -1h@h
dispatch.latest_time = now
enableSched = 1
realtime_schedule = 0
search = `Search_Name`

and a Copy of one of my scheduled saved Searches that is working:

[Search_Name2]
action.email.inline = 1
action.email.reportServerEnabled = 0
action.summary_index = 1
action.summary_index._name = SummaryIndex
alert.digest_mode = True
alert.severity = 2
alert.suppress = 1
alert.suppress.period = 1h
alert.track = 1
# run hourly
cron_schedule = 35 * * * *
description = <Description>
dispatch.earliest_time = -1h@h
dispatch.latest_time = now
enableSched = 1
realtime_schedule = 0
search = `Search_Name2`

Please Note: Both raw searches (not the Summary Indexed) are populated with data and work, so when I run the raw macros search for each, I get results.

0 Karma

lakshman239
SplunkTrust
SplunkTrust

check your cron . for every 5 mins, it should be */5 * * * * and use same approach for other.

0 Karma
Get Updates on the Splunk Community!

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 ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...