# Include lines in filebeat

**URL:** <https://discuss.elastic.co/t/include-lines-in-filebeat/217776>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [February 4, 2020, 11:07am UTC](https://discuss.elastic.co/t/include-lines-in-filebeat/217776 "2020-02-04T11:07:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![whoatemyjam](https://avatars.discourse-cdn.com/v4/letter/w/5f9b8f/32.png) [@whoatemyjam](https://discuss.elastic.co/u/whoatemyjam)\
**Post date:** [February 4, 2020, 11:07am UTC](https://discuss.elastic.co/t/include-lines-in-filebeat/217776/1 "2020-02-04T11:07:32Z")

</div>

in filebeat is there a way to send the messages that have

> "somekey": "somevalue"

in it, to logstash and ignore all the rest of the messages

tried  
`include_lines: [' "somekey": "somevalue" ']`  
but that fails  
Thanks

---

<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:** [March 3, 2020, 11:07am UTC](https://discuss.elastic.co/t/include-lines-in-filebeat/217776/2 "2020-03-03T11:07:35Z")

</div>

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