Splunk Dev

How to test splunk alerts created via python SDK

RS
Engager

Hi, I am creating alerts in my splunk instance using splunk python SDK. I am using example libraries/API as mentioned ---> splunklib.client and saved_searches.create

The alerts are created and also scheduled via cron successfully.

Is there a way  for me to allow users ability to test the newly created or existing alerts using python SDK interface? That is as soon as alerts are created they should get fired and user who created them can get a results of all triggered alerts.

Thanks

 

 

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

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Dashboard Challenge and Watch the .conf24 Global Broadcast!

The Splunk Community Dashboard Challenge is still happening, and it's not too late to enter for the week of ...