Alerting

How to create email line break for an alert

csheldon3636
New Member

Hello,

We have an alert that sends out a notification to a user via email when they have a vulnerability. The email contains the CVE and the action to resolve it. The issue is that it is putting that all on one line and not listing them. I have googled this problem and checked with Splunk knowledgebase and have not found a solution.

Thanks,

Curt

================= Example ====================
Hello xxxxxx

The following vulnerabilities were detected on your system.Please review the following details:

result.Vulnerability_CVE-2019-13449=Upgrade to Zoom version 4.4.53582.0519,result.Vulnerability_CVE-2019-13450=Upgrade to Zoom version 4.4.53932.0709

If you are unable to update your system please contact support.

To confirm validity of this email please feel free to contact xxxxxxxxx

0 Karma

_smp_
Builder

I had a list of user IDs in a multi-value field. I wanted to send that list of IDs in the body of an email message with each ID separated by a newline. I was able to achieve this in Splunk Cloud 8.1.2008 by appending a newline string ("\n") to each user ID in the multi-value field like this:

USERID
user1\n
user2\n
user3\n
user4\n

Then I just inserted the token $result.USERID$ in the body of the email. The newline characters are included in the search result, but they are converted to newlines in the body of the email.

Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...