Alerting

Can we push data to summary index each time search runs and also when condition is met?

vrmandadi
Builder

Hello,

I have a alert which is scheduled to run every 10 minutes and triggers and alert if the number of events is greater than 0.Is there a way where we can push the data to summary index not just when the condition is met but everytime the search runs(10 minutes for this search) to store in the summary index.

I am using the below summary index to push data

| collect index="abc_summary" marker="report=abc_alerts" testmode=f addtime=t

Tags (2)
0 Karma

mattymo
Splunk Employee
Splunk Employee

Hi vrmandadi!

Once you sechedule any search (an alert is just a scheduled search too!), you can go to settings > searches, reports & alerts > edit to control summary indexing options:

alt text

alt text

Collect also works appended to a scheduled search, but can be tricky to manage and can result in unwanted runs of the command. Check it out and let us know if this works for you!

http://docs.splunk.com/Documentation/SplunkCloud/latest/Knowledge/Usesummaryindexing#Set_up_summary_...

- MattyMo
0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...