Allow multi-line breaking using \n in Discover Datatable

Hello, I'm sending strings with \n so I can see logs in multi-line formatting, but all I see is the literal '\n'.
For example:

I found this previous issue and PR:

and I see that it added on 8.4.0 but only for Lens?, we already use 8.11.
What can I do to see multi-lines logs?

Thanks.

Hey, I am on 8.11.0 and I am testing this and it works fine

This is the document I ingest

PUT newline/_doc/4
{
  "message": "Newline2!\nHere's a newline"
}

What type is the field you use? In which mode are you? On the Document View where all the fields are been rendered or on the table view where you are selecting specific columns?

Hi @Stratoula_Kalafateli
Yes, you are right, this way it's working well.
What I'm trying to do is to send an event to elastic from NodeJS. So it looks like there's some problem with the way I send it. I'll try to look forward about it from my side, and I'll reply back if I find anything that might be related to Kibana side.

Thanks!

1 Like

Sounds great, thank you :slight_smile:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.