# Current Logs Output Is a Single Line - How do I make multi-newlines at specific points

**URL:** <https://discuss.elastic.co/t/current-logs-output-is-a-single-line-how-do-i-make-multi-newlines-at-specific-points/258361>\
**Category:** Logstash\
**Created:** [December 11, 2020, 3:54am UTC](https://discuss.elastic.co/t/current-logs-output-is-a-single-line-how-do-i-make-multi-newlines-at-specific-points/258361 "2020-12-11T03:54:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![test\_tester](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/test_tester/32/79990_2.png) [@test\_tester](https://discuss.elastic.co/u/test_tester)\
**Post date:** [December 11, 2020, 3:54am UTC](https://discuss.elastic.co/t/current-logs-output-is-a-single-line-how-do-i-make-multi-newlines-at-specific-points/258361/1 "2020-12-11T03:54:36Z")

</div>

Good Day All,

I have a problem whereby my current logs are outputting in a single line.

The backstory is that our application is receiving messages from another party and within those messages, we have /n, so when we output it into html, we can easily see the contents in multi lines.

Currently, I have a requirement to make it more readable from the raw logs end -\> I need to include lines at specific points to make sure that the final text output is more readable (like the mentioned html's /n) in the logs itself.

Can anyone suggest to me how I can ensure that my log outputs to multi-line at specific points in the logs itself?

I read that there is something called Multiline codec plugin, how should I go about using it?

Regards

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 8, 2021, 3:54am UTC](https://discuss.elastic.co/t/current-logs-output-is-a-single-line-how-do-i-make-multi-newlines-at-specific-points/258361/2 "2021-01-08T03:54:41Z")

</div>

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