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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...