Knowledge Management

How can I prevent adding duplicate events when indexing via scheduled reports to a summary index?

adamblock2
Path Finder

I currently have a saved search configured to write its results to a summary index. This search is scheduled to run at 02:00 every night. The search starts with the following code: starthoursago=26 endhoursago=2 index=mail .... It is my understanding that the starthoursago/endhoursago commands set the time range of the search to 00:00 - 24:00 of the previous day.

I am thinking that there must be a better way to schedule this search so to avoid writing duplicate events to the summary index. If possible, I would like the search to run more frequently - every hour if possible.

Assistance with this will be greatly appreciated.

Thank you.

0 Karma

ddrillic
Ultra Champion

Based on the recent discussion at How can we avoid data loss in the summary indexes when there is an indexing latency in the cluster?

We ended up with something like -

alt text

It covers an hour of data, and back two to three hours ago - we like it ; -)

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...