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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...