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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...