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
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...