Alerting

search query in-order to find a Rest API down

geethujosey
New Member

I have a requirement to write a search query when the REST API got down and need to send an email alert for the same. Can anyone help me to do the search query as i am new to splunk.

0 Karma

renjith_nair
Legend

Do you have the events of "down" in splunk or do you need to explicitly call the rest endpoint to see if it works?

---
What goes around comes around. If it helps, hit it with Karma 🙂
0 Karma

geethujosey
New Member

Hi renjith, need to explicitly call the rest endpoint to see if it works?

0 Karma

renjith_nair
Legend

You could use https://splunkbase.splunk.com/app/1546/ and forward the result to Splunk. Once this is done, you could search the splunk events, you could look for unexpected errors and alert

---
What goes around comes around. If it helps, hit it with Karma 🙂
0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...