Splunk Dev

How to set Choice of date in the replay of an alert?

Micka108
Engager

Hello,

I am developing an order to replay an alert. I'm not sure if it's a good idea to use the same method as the one used in the previous version of the program.

For the replay after having determined the rules which will have to sound I pass by

kwargs_block = {'dispatch.earliest_time':earliest, "dispatch.latest_time":latest, "trigger_actions":self.trigger}
job = search.dispatch(**kwargs_block)

Here is an example of a replay started at 11:52, but its scheduled task starts at 30 of each hour so I would like to have 11:30.

Micka108_0-1654763653334.png

Do you have any idea how to set the date of indexation of the alert?

 
Labels (3)
0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...