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!

Fall Into Learning with New Splunk Education Courses

Every month, Splunk Education releases new courses to help you branch out, strengthen your data science roots, ...

Super Optimize your Splunk Stats Searches: Unlocking the Power of tstats, TERM, and ...

By Martin Hettervik, Senior Consultant and Team Leader at Accelerate at Iver, Splunk MVPThe stats command is ...

How Splunk Observability Cloud Prevented a Major Payment Crisis in Minutes

Your bank's payment processing system is humming along during a busy afternoon, handling millions in hourly ...