Alerting

How can we use the splunklib.results module in custom alert action script to get events/alerts from splunk ?

spcrest
New Member

I have created a python script for the custom alert action to receive results from Splunk. How i can use the splunklib.results module to stream the search result which is triggered as alert? Following is the documentation reference link.
https://docs.splunk.com/DocumentationStatic/PythonSDK/1.6.5/results.html#splunklib.results.ResultsRe...

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 ...