Alerting

Alerts Triggered

HealyManTech
Explorer

I have alerts setup that work but I cant use the email function or the script function to be able to see them when they happen. I am trying not to have to go to the trigger alerts page every time just to review the results. I would assume there is a way to get them to trigger in real time if I am using Splunk or at least have them in the message box for Splunk.

Can anyone help with this?

0 Karma

lguinn2
Legend

In order for Splunk to send an email, Splunk must be able to connect to a valid email server with an appropriate user name (and password.) This is configured by the Splunk system admin; in the GUI, the email settings can be found under Settings >> Server settings >> Email settings

0 Karma

HealyManTech
Explorer

Thank you for the answer. But the issue is I can't use the functions and wont be enabled do to the setup of the network resources and Splunk license. So I would need a different solution.

0 Karma

p_gurav
Champion

Hi,

You can create report/dashboard with below search:

index=_audit action="alert_fired" | rename ss_name AS title 
 | join title [ | rest /services/saved/searches | table title, alert_threshold ] 
 | timechart values(alert_threshold) AS alert_threshold count by title
0 Karma

HealyManTech
Explorer

I did but it wasn't what I was looking for. Thank you though.

0 Karma

p_gurav
Champion

hey hi,
did you try this?

0 Karma

MousumiChowdhur
Contributor

Hi!

I just want to know that do you want to see the alert results somewhere other than the alert triggered page?

0 Karma

HealyManTech
Explorer

I am thinking like a pop up or creating a dashboard for it.

0 Karma

MousumiChowdhur
Contributor

Hi,

Actually you can create a dashboard whose search and time window will be same as that of your alert. This will help you see the alert result on a dashboard and you don't have to navigate to alert triggered page.

Thanks.

0 Karma

HealyManTech
Explorer

So if I have an alert that run every 5 mins it would update every 5 mins? But if I need to see previous results how would that be able to do that?

I saw that webhook is supposed to be able to create a popup does anyone have information on doing that?

0 Karma

MousumiChowdhur
Contributor

Hi HealyManTech,

You can adjust the time span of the search in the dashboard panel according to the duration you would like to see the alert result for.

Also, webhook does let you make an alert message pop up. You can refer the below link which describes how to configure that.

https://docs.splunk.com/Documentation/Splunk/7.0.2/Alert/Webhooks

Hope that helps you!

Thank you.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...