# How to esclude from filebeat this log

**URL:** <https://discuss.elastic.co/t/how-to-esclude-from-filebeat-this-log/202303>\
**Category:** Logs\
**Created:** [October 4, 2019, 8:31am UTC](https://discuss.elastic.co/t/how-to-esclude-from-filebeat-this-log/202303 "2019-10-04T08:31:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mirketto82](https://avatars.discourse-cdn.com/v4/letter/m/50afbb/32.png) [@mirketto82](https://discuss.elastic.co/u/mirketto82)\
**Post date:** [October 4, 2019, 8:31am UTC](https://discuss.elastic.co/t/how-to-esclude-from-filebeat-this-log/202303/1 "2019-10-04T08:31:47Z")

</div>

hi all

i want to exclude from filebeat this logs?  
at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:101)

Oct 4, 2019 @ 10:27:45

at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:114)

Oct 4, 2019 @ 10:27:45

at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:542)

Oct 4, 2019 @ 10:27:45

at org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:220)

Oct 4, 2019 @ 10:27:45

at org.apache.camel.spring.spi.TransactionErrorHandler.doInTransactionTemplate(TransactionErrorHandler.java:176)

Oct 4, 2019 @ 10:27:45

at org.apache.camel.spring.spi.TransactionErrorHandler.processInTransaction(TransactionErrorHandler.java:136)

Oct 4, 2019 @ 10:27:45

at org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:114)

Oct 4, 2019 @ 10:27:45

at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:197)

Oct 4, 2019 @ 10:27:45

at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:172)

Oct 4, 2019 @ 10:27:45

at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:542)

Oct 4, 2019 @ 10:27:45

at org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:220)

Oct 4, 2019 @ 10:27:45

at org.apache.camel.spring.spi.TransactionErrorHandler$1.doInTransactionWithoutResult(TransactionErrorHandler.java:183)

Oct 4, 2019 @ 10:27:45

at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:3

can you help me?

---

<div class="post-metadata">

**Author:** ![mirketto82](https://avatars.discourse-cdn.com/v4/letter/m/50afbb/32.png) [@mirketto82](https://discuss.elastic.co/u/mirketto82)\
**Post date:** [October 6, 2019, 12:52pm UTC](https://discuss.elastic.co/t/how-to-esclude-from-filebeat-this-log/202303/2 "2019-10-06T12:52:53Z")

</div>

Any update?

---

<div class="post-metadata">

**Author:** ![skh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/skh/32/38637_2.png) [@skh](https://discuss.elastic.co/u/skh)\
**Post date:** [October 7, 2019, 10:11am UTC](https://discuss.elastic.co/t/how-to-esclude-from-filebeat-this-log/202303/3 "2019-10-07T10:11:49Z")

</div>

Hi @mirketto82,

To keep certain log lines from being ingested, you can use the `drop_event` processor: [https://www.elastic.co/guide/en/beats/filebeat/7.4/drop-event.html](https://www.elastic.co/guide/en/beats/filebeat/7.4/drop-event.html)

For Java stacktraces, handling them as multiline events could be helpful as well, for this see [https://www.elastic.co/guide/en/beats/filebeat/7.4/multiline-examples.html](https://www.elastic.co/guide/en/beats/filebeat/7.4/multiline-examples.html)

cheers,  
Sonja

---

<div class="post-metadata">

**Author:** ![mirketto82](https://avatars.discourse-cdn.com/v4/letter/m/50afbb/32.png) [@mirketto82](https://discuss.elastic.co/u/mirketto82)\
**Post date:** [October 7, 2019, 11:08am UTC](https://discuss.elastic.co/t/how-to-esclude-from-filebeat-this-log/202303/4 "2019-10-07T11:08:47Z")

</div>

ok many thanks but you can show the corrett formula for the log that i attached ?

---

<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 4, 2019, 11:09am UTC](https://discuss.elastic.co/t/how-to-esclude-from-filebeat-this-log/202303/5 "2019-11-04T11:09:17Z")

</div>

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