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!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...