Alerting

How to format alerts email message in alert search, and split the message over multiple lines

edwinmae
Path Finder

Hi,

I use the following in the Alert Search to get the Email Message (body) in the Splunk Results output:

| eval Alert_Message= "Text A, Text B, Text C"
| table Alert_Message ...

It shows the Message in the Splunk Results output in 'One single line' > Text A, Text B, Text C

**

Is it possible to get the Splunk Results output, e.g. in 3 Lines?
Text A
Text B
Text C

0 Karma

edwinmae
Path Finder

I actually solved it myself, by adding a star after each line, and using | makemv delim="*" Alert_Message

0 Karma

aberkow
Builder

You can also use the mvexpand command here: https://docs.splunk.com/Documentation/Splunk/8.0.0/SearchReference/Mvexpand. You should post/accept an answer or close the question to mark it as resolved!

0 Karma
Get Updates on the Splunk Community!

.conf25 Registration is OPEN!

Ready. Set. Splunk! Your favorite Splunk user event is back and better than ever. Get ready for more technical ...

Detecting Cross-Channel Fraud with Splunk

This article is the final installment in our three-part series exploring fraud detection techniques using ...

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...