Splunk Cloud Platform

How create reports to monitor web applications?

ThelmaJ
Loves-to-Learn

Hello,

I'm new working with Splunk and I want to create reports and email notification to me  when  any systems go down. Can any of you help me with any search string for that?

Thank you!

Thelma

Labels (1)
0 Karma

VatsalJagani
SplunkTrust
SplunkTrust

@ThelmaJ - There could be multiple ways to do that.

One way is if you are monitoring log files from the web application then you can do something like the below:

index=<your-index> sourcetype=<web-logs-sourcetype>
| stats count by host
| append [| inputlookup list_of_web_server_host_names.csv | eval count=0]
| stats sum(count) as count by host
| where count=0

You can run this alert every 15 minutes or 1 hour depending on the requirement.

If the host did not send any logs then you can get an alert.

This is one of the way, but depending on what setup you have there could be lot of ways you can achieve the same.

 

I hope this helps!!!

0 Karma

ThelmaJ
Loves-to-Learn
Thank you!
Could you share another way to do that?
I appreciate your help.
Thank you,
Thelma
 
Tags (1)
0 Karma

VatsalJagani
SplunkTrust
SplunkTrust

If you have a log that tells "Service is shutting down", then you can create an alert on that.

 

0 Karma
Get Updates on the Splunk Community!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...