# Filebeat To Send Entire Log Files

**URL:** <https://forum.opensearch.org/t/filebeat-to-send-entire-log-files/2166>\
**Category:** Open Source Elasticsearch and Kibana\
**Created:** [February 3, 2020, 7:35pm UTC](https://forum.opensearch.org/t/filebeat-to-send-entire-log-files/2166 "2020-02-03T19:35:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ghaith](https://avatars.discourse-cdn.com/v4/letter/g/cab0a1/32.png) [@ghaith](https://forum.opensearch.org/u/ghaith)\
**Post date:** [February 3, 2020, 7:35pm UTC](https://forum.opensearch.org/t/filebeat-to-send-entire-log-files/2166/1 "2020-02-03T19:35:40Z")

</div>

So im trying to have filebeat send the entire log file as one event instead of every line as an event, but its not working, this is my filebeat setup:

```
   multiline.pattern: ^\[
   multiline.negate: true
   multiline.match: after

```

and this is an example of a log file that i have:

```
2020-02-03 16:03:25,038 INFO Initial blacklisted packages:
2020-02-03 16:03:25,039 INFO Initial whitelisted packages:
2020-02-03 16:03:25,039 INFO Starting unattended upgrades script

```

but filebeat sends every line as an event, i need to send the whole thing as one event instead of seperated.

Any idea of what im doing wrong here?

Thanks in advance for any help!

---

<div class="post-metadata">

**Author:** ![kris](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/kris/32/2208_2.png) [@kris](https://forum.opensearch.org/u/kris)\
**Post date:** [February 7, 2023, 12:02am UTC](https://forum.opensearch.org/t/filebeat-to-send-entire-log-files/2166/2 "2023-02-07T00:02:18Z")

</div>

Closed on February 7, 2023, 12:02am UTC


