All Apps and Add-ons

How to add Line Break in body of the email with sendresults command

surekhasplunk
Communicator

Hi,

Currently i am using sendresults command to send email but in the body of the email i want to add few lines where i need to have new line between the lines. 

But when i use \r\n it doesn't work. All the lines come as merged in the email_body

can you please help.

Thanks.

Labels (1)
Tags (2)
0 Karma

ssn
Explorer

I have used </br> tag in the Alert Actions window/Message Body field for "sendresults". This will add a new line in the content. So it might work for you. 

0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

can you share your query, so we could easier help you?

r. Ismo

0 Karma
Get Updates on the Splunk Community!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...