In my logstash output, I have set up an email output that looks like this (put it for reference, doesn't really matter):
# If our honeypot (called cowrie) gets someone, send me an email
if [log][file][path] =~ "cowrie.json" {
if [message] =~ "^New connection" {
email {
from => 'honeypot-entries@companyname-elk.net'
to => 'john@companyname.net'
subject => 'Honeypot Alert'
body => "Someone interacted with the honeypot!\nDetails: %{message}\nClick here to view the dashboard."
domain => 'mail.company.net'
port => 25
}
}
}
I want to set up a hyperlink so that the word Click here
would be clickable and directed to a link (the dashboard). much like this sentence is clickable.
Is it possible to do?
Thanks ahead!