Building for the Splunk Platform

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!

Take the 2021 Splunk Career Survey for $50 in Amazon Cash

Help us learn about how Splunk has impacted your career by taking the 2021 Splunk Career Survey. Last year’s ...

Using Machine Learning for Hunting Security Threats

WATCH NOW Seeing the exponential hike in global cyber threat spectrum, organizations are now striving more for ...

Observability Newsletter Highlights | March 2023

 March 2023 | Check out the latest and greatestSplunk APM's New Tag Filter ExperienceSplunk APM has updated ...