How to move elasticsearch String to next line

how to insert a new line as "/n" is not working neither "
" tag.
I am using 7.1 elasticsearch hosting on AWS.

Hi,

You can write a formatter function that truncated the line or splits it with a line-break (using HTML <br/> tag).
you could look into 'Scripted Fields`(https://www.elastic.co/guide/en/kibana/current/scripted-fields.html )

Thanks
Rashmi

It is not working.
why is not working i am using string data type

Hi,
when you say its not working , what is the error you are getting , logs? screenshots? more info would help.

thanks
Rashmi

when i applied it shows the following result.
The output is :-