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!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...