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
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 ...