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
SplunkTrust
SplunkTrust

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

Happy Splunking!
0 Karma

geethujosey
New Member

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

0 Karma

renjith_nair
SplunkTrust
SplunkTrust

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

Happy Splunking!
0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...