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!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

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