# How to filter in filebeat

**URL:** <https://discuss.elastic.co/t/how-to-filter-in-filebeat/221265>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [February 27, 2020, 3:33pm UTC](https://discuss.elastic.co/t/how-to-filter-in-filebeat/221265 "2020-02-27T15:33:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![D\_Gupta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/d_gupta/32/63450_2.png) [@D\_Gupta](https://discuss.elastic.co/u/D_Gupta)\
**Post date:** [February 27, 2020, 3:33pm UTC](https://discuss.elastic.co/t/how-to-filter-in-filebeat/221265/1 "2020-02-27T15:33:53Z")

</div>

Hi,

Below message I'm getting from filebeat (7.0.1). I want to filter it in different line. How we can do it in filebeat.yml file? any help will be appreciable.

| **t** log.flags | multiline |
| --- | --- |
| | |

| | **t** message | Audit file /opt/oracle/admin/TESTPP/adump/TESTPP\_ora\_118015\_20200227162922728552143795.aud Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production With the Partitioning, Automatic Storage Management, OLAP, Advanced Analytics and Real Application Testing options ORACLE\_HOME = /opt/oracle/12.1.0.2 System name: Linux Node name: [testhost.mycompany.com](http://testhost.mycompany.com) Release: 3.10.0-514.6.1.el7.x86\_64 Version: #1 SMP Sat Dec 10 11:15:38 EST 2016 Machine: x86\_64 Instance name: TESTPP Redo thread mounted by this instance: 1 Oracle process number: 92 Unix process pid: 118015, image: [oracle@testhost.mycompany.com](mailto:oracle@testhost.mycompany.com) (TNS V1-V3) |
| --- | --- | --- |
| | | |

**#** offset 0

---

<div class="post-metadata">

**Author:** ![ChrsMark](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrsmark/32/55858_2.png) [@ChrsMark](https://discuss.elastic.co/u/ChrsMark)\
**Post date:** [February 28, 2020, 9:15am UTC](https://discuss.elastic.co/t/how-to-filter-in-filebeat/221265/2 "2020-02-28T09:15:59Z")

</div>

Hi!

If these logs are not from a service that is supported by the current [Filebeat modules](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-modules.html) then you will need to forward the raw messages to logstash and analyze them there.

Another option in order to achieve this with only Filebeat would be to use [processor-script](https://www.elastic.co/guide/en/beats/filebeat/master/processor-script.html) in order to parse and analyze the raw message. Note that this might be not the best option in terms of performance.

C.

---

<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 27, 2020, 9:16am UTC](https://discuss.elastic.co/t/how-to-filter-in-filebeat/221265/3 "2020-03-27T09:16:01Z")

</div>

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