Splunk Search

External URL link with Hyperlink in alert message body

dadepu
Engager

Hi Splunkers,

Is it possible to add an External URL as Hyperlink in the message body of an alert?
I know we can place directly URL link like below as shown.
to:example@gmail.com
subject:$$$
Message: You can access https://example2example.com to view your current permission.

but i would like to see something like this:
Expected output:
Message: You can access "Proxy" to view your current permission.

Thanks

niketn
Legend

@dadepu @RalfSeewaldCT you can check out Sendresults Splunk App from Splunkbase by Discovered Intelligence to format Tabular results as HTML for email.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

RalfSeewaldCT
Engager

Hi dadepu,

great question. I kind of have the same challange and I'm wodering if you could found a solution for it.
I tried out some things like putting in html code like Proxy, with the result that exactly this code is shown in the email.

Would be great to hear your solution. 🙂

Best regards,
Ralf

0 Karma

harishalipaka
Motivator
|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
Get Updates on the Splunk Community!

Splunk Enterprise Security 8.0.2 Availability: On cloud and On-premise!

A few months ago, we released Splunk Enterprise Security 8.0 for our cloud customers. Today, we are excited to ...

Logs to Metrics

Logs and Metrics Logs are generally unstructured text or structured events emitted by applications and written ...

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...