# Multiline Parsing- Elastic Agent/Fleet

**URL:** <https://discuss.elastic.co/t/multiline-parsing-elastic-agent-fleet/360580>\
**Category:** Elastic Agent\
**Tags:** filebeat\
**Created:** [May 30, 2024, 8:09pm UTC](https://discuss.elastic.co/t/multiline-parsing-elastic-agent-fleet/360580 "2024-05-30T20:09:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bigmike19](https://avatars.discourse-cdn.com/v4/letter/b/71c47a/32.png) [@bigmike19](https://discuss.elastic.co/u/bigmike19)\
**Post date:** [May 30, 2024, 8:09pm UTC](https://discuss.elastic.co/t/multiline-parsing-elastic-agent-fleet/360580/1 "2024-05-30T20:09:18Z")

</div>

Hello Everyone,

We are new to Elastic. We are using the Elastic Agent and are using Fleet management. We have a number of logs events coming in as separate documents. We are interested in setting up multiline parsing.

I have found - [Manage multiline messages | Filebeat Reference [8.13] | Elastic](https://www.elastic.co/guide/en/beats/filebeat/current/multiline-examples.html)

However, this document discusses updating the filebeat.yml file. We are not using Filebeat directly. I'm wondering how to setup multiline parsing with the Elastic Agent and Fleet setup. Does anyone have any thoughts?

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [May 30, 2024, 10:34pm UTC](https://discuss.elastic.co/t/multiline-parsing-elastic-agent-fleet/360580/2 "2024-05-30T22:34:17Z")

</div>

You need to use the [Custom Log Integration](https://docs.elastic.co/integrations/log), while configuring this integration in Fleet you have an option to provide some yaml config, then you can use the multiline described in the Filebeat documentation.

Unfortunately the documentation for Elastic Agent is not that good, there are a lot of things missing and basically it has zero examples, but since Elastic Agent will run a filebeat instance under the hoods, almost everything you can do with filebeat you also can do with Elastic Agent.
