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!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...