# How to add multiline on custom logs

**URL:** <https://discuss.elastic.co/t/how-to-add-multiline-on-custom-logs/346637>\
**Category:** Elastic Agent\
**Tags:** fleet, filebeat\
**Created:** [November 7, 2023, 3:39pm UTC](https://discuss.elastic.co/t/how-to-add-multiline-on-custom-logs/346637 "2023-11-07T15:39:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MirkoSpezie](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@MirkoSpezie](https://discuss.elastic.co/u/MirkoSpezie)\
**Post date:** [November 7, 2023, 3:39pm UTC](https://discuss.elastic.co/t/how-to-add-multiline-on-custom-logs/346637/1 "2023-11-07T15:39:36Z")

</div>

I'm trying to figure out on how to configure the custom logs integration to manage multiline logs (log4j)

---

<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:** [December 5, 2023, 3:40pm UTC](https://discuss.elastic.co/t/how-to-add-multiline-on-custom-logs/346637/2 "2023-12-05T15:40:08Z")

</div>

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