Alerting

Create link in an alert

sonila
Path Finder

Hi, I have an alert that gets triggered every 10 min if some conditions are true. I want also to add into this alert a link that will redirect me to a report I have made but I want to see this report only if alert gets triggered? Any ideas will be helpful.

0 Karma

harishalipaka
Motivator

can you try like this
|makeresults |eval Failure=52 | sendemail to="abc@gmail.com" format="html" server=smtp.gmail.com:143 use_tls=1 subject="Using splunk 7.1.1 version" message="Splunk Alert \n Test Link: http:\localhost:8000 .\n My Test Alert from URL: www.google.com ."

Thanks
Harish
0 Karma

Rakeshar4u
New Member

You can add the link in the email message as plain text, Splunk will convert it to hyperlink internally and show it it your alert email.

0 Karma

sanjai
Path Finder

Hi @Rakeshar4u  ,

I've included a link to the dashboard in the body of the alert email, but it appears as plain text rather than a clickable hyperlink. I also tried using <href>, but it still shows as plain text.

Here's my alert configuration:

sanjai_0-1719815077878.png

My Splunk version is 9.2.1.

Any insights would be appreciated.

 

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

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