# Is it possible to drop some text with Filebeat

**URL:** <https://discuss.elastic.co/t/is-it-possible-to-drop-some-text-with-filebeat/64984>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [November 4, 2016, 6:22am UTC](https://discuss.elastic.co/t/is-it-possible-to-drop-some-text-with-filebeat/64984 "2016-11-04T06:22:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![espogian](https://avatars.discourse-cdn.com/v4/letter/e/4491bb/32.png) [@espogian](https://discuss.elastic.co/u/espogian)\
**Post date:** [November 4, 2016, 6:22am UTC](https://discuss.elastic.co/t/is-it-possible-to-drop-some-text-with-filebeat/64984/1 "2016-11-04T06:22:45Z")

</div>

Hello, just for confimation, would it be possible to tell Filebeat to drop some text in a line instead of the whole line?  
The exclude\_line configuration parameter works just fine when you need to drop an entire line from your logs, but what if I need to drop only some text (based on a Regex expression) before sending the data to Logstash?  
From the documentation I don't think there is a viable solution other than manipulating the logs before sending them to Filebeat. Am I correct?

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [November 4, 2016, 3:07pm UTC](https://discuss.elastic.co/t/is-it-possible-to-drop-some-text-with-filebeat/64984/2 "2016-11-04T15:07:39Z")

</div>

Correct, you need to use Filebeat + Logstash for this use case.

---

<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:** [November 25, 2016, 6:23am UTC](https://discuss.elastic.co/t/is-it-possible-to-drop-some-text-with-filebeat/64984/3 "2016-11-25T06:23:02Z")

</div>

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