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?

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

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

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...