Getting Data In

REST API fired alerts php sdk

tallak
New Member

hi

im using the splunk php sdk. And i cant find any functions in there to get the information i want from searches saved as alerts. I can find the search in /search/jobs/ and i can get the events.

the information i want is, severity of the search, when it was triggered.

Thanks In Advance!

Tags (2)
0 Karma

lite
Observer

is it supported in the python sdk ? I can't find a way to get it working

0 Karma

Leo
Splunk Employee
Splunk Employee

This is not supported by the php sdk.

If you're willing to extend it, you'll want to use this endpoint https://localhost:8089/services/alerts/fired_alerts/ as your source. It lists all the fired alerts and their properties. Make an authenticated http request by example of the existing sdk and parse the resulting xml to get the data.

Get Updates on the Splunk Community!

Why You Can't Miss .conf25: Unleashing the Power of Agentic AI with Splunk & Cisco

The Defining Technology Movement of Our Lifetime The advent of agentic AI is arguably the defining technology ...

Deep Dive into Federated Analytics: Unlocking the Full Power of Your Security Data

In today’s complex digital landscape, security teams face increasing pressure to protect sprawling data across ...

Your summer travels continue with new course releases

Summer in the Northern hemisphere is in full swing, and is often a time to travel and explore. If your summer ...