Getting Data In

REST API fired alerts php sdk

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

New Member

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

0 Karma

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.