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!

New Case Study: How LSU’s Student-Powered SOCs and Splunk Are Shaping the Future of ...

Louisiana State University (LSU) is shaping the next generation of cybersecurity professionals through its ...

Splunk and Fraud

Join us on November 13 at 11 am PT / 2 pm ET!Join us for an insightful webinar where we delve into the ...

Build Your First SPL2 App!

Watch the recording now!.Do you want to SPL™, too? SPL2, Splunk's next-generation data search and preparation ...