Alerting

Deploy alerts

Mag2sub
Path Finder

We need to deploy an app that has lot of alerting objects(scheduled) to remote splunks
The number of alerting searches are a 60+..a scheduling nightmare
We need to build in the crons into the alerts before deployment.

If we have slabs of alerts that need to kick off say 15 as we can spare only 20 cpu cores to searches ...how do we ensure the slabs of 15 seraches do not overlap

for ex: how do i ensure cron */5 * * * * of first 15 does not kick off the same time as */5 * * * * of next slab ... idea being we will package this into the app and will be in hands off mode in the remote splunk..ie avoid intervening at remote splunks

0 Karma

lukejadamec
Super Champion

Each search will need its own schedule.

To run a cron schedule every 5 minutes starting at a particular minute use this:

1-59/5 * * * * for minutes 1,6,11,16,etc

2-59/5 * * * * for minutes 2,7,12,17,etcand so on.

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!

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

 Are you ready to revolutionize your IT operations? As digital transformation accelerates, the demand for ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...