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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...