# Filbeat, Fields and Multiline

**URL:** <https://discuss.elastic.co/t/filbeat-fields-and-multiline/59526>\
**Category:** Beats\
**Created:** [September 1, 2016, 9:57am UTC](https://discuss.elastic.co/t/filbeat-fields-and-multiline/59526 "2016-09-01T09:57:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kryten](https://avatars.discourse-cdn.com/v4/letter/k/58956e/32.png) [@Kryten](https://discuss.elastic.co/u/Kryten)\
**Post date:** [September 1, 2016, 9:57am UTC](https://discuss.elastic.co/t/filbeat-fields-and-multiline/59526/1 "2016-09-01T09:57:10Z")

</div>

Hi,

I'm testing out some configurations with Filebeat and one thing which I am struggling to accomplish is having Filebeat add some form of indication to the event if it has been handled by multiline.

The events are being sent to a Logstash layer within which I would like to test whether or not the event is a multline. if the event is a multiline we'd like to just send the event 'as is', but if not we would like to further enrich the event before sending to ES.

Having a simple way to test whether or not the event is a multiline by testing for the existence of a basic field or value seems like the simplest way to do this. If we cannot inject a field or tag to test on are there any other techniques that could be used?

Thanks

---

<div class="post-metadata">

**Author:** ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)\
**Post date:** [September 1, 2016, 11:44am UTC](https://discuss.elastic.co/t/filbeat-fields-and-multiline/59526/2 "2016-09-01T11:44:12Z")

</div>

This currently not possible. Related [github ticket](https://github.com/elastic/beats/issues/957).

---

<div class="post-metadata">

**Author:** ![Kryten](https://avatars.discourse-cdn.com/v4/letter/k/58956e/32.png) [@Kryten](https://discuss.elastic.co/u/Kryten)\
**Post date:** [September 1, 2016, 1:13pm UTC](https://discuss.elastic.co/t/filbeat-fields-and-multiline/59526/3 "2016-09-01T13:13:00Z")

</div>

Thanks very much. No update on that enhancement since April? Can I take that to mean its not very likely to happen?

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [September 1, 2016, 1:27pm UTC](https://discuss.elastic.co/t/filbeat-fields-and-multiline/59526/4 "2016-09-01T13:27:21Z")

</div>

There is already an open PR, but WIP: [https://github.com/elastic/beats/pull/2279](https://github.com/elastic/beats/pull/2279)

---

<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:** [September 22, 2016, 9:57am UTC](https://discuss.elastic.co/t/filbeat-fields-and-multiline/59526/5 "2016-09-22T09:57:27Z")

</div>

This topic was automatically closed after 21 days. New replies are no longer allowed.
