# Linux file beat configuration not working

**URL:** <https://discuss.elastic.co/t/linux-file-beat-configuration-not-working/283731>\
**Category:** Beats\
**Tags:** beats-module, filebeat, metricbeat\
**Created:** [September 9, 2021, 5:22am UTC](https://discuss.elastic.co/t/linux-file-beat-configuration-not-working/283731 "2021-09-09T05:22:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kannan\_Rajendran](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kannan_rajendran/32/78272_2.png) [@Kannan\_Rajendran](https://discuss.elastic.co/u/Kannan_Rajendran)\
**Post date:** [September 9, 2021, 5:22am UTC](https://discuss.elastic.co/t/linux-file-beat-configuration-not-working/283731/1 "2021-09-09T05:22:32Z")

</div>

i'm trying to take log from linux machine with oracle database installed. Based on the below configuration the filebeat doesn't pull any info to elastic search.

```auto
filebeat.inputs:
- type: log
  enabled: true
  paths:
    - /u01/app/oracle/diag/rdbms/trace/alert_oracle*.log
  fields:
   log-type: "oracledb"
   log-subtype: "alertlog"
   customer: "default"
   n4-type: "dbalert"
  multiline.pattern: '^[0-9]{4}-[0-9]{2}-[0-9]{2}'
  multiline.negate: true
  multiline.match: after
  ignore_older: 168h
  close_inactive: 24h

output.logstash:
  hosts: ["logstash host server":5044"]
  loadbalance: true

```

can anyone advice how the filebeat yml file need to be configured for linux?

---

<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:** [September 9, 2021, 10:18am UTC](https://discuss.elastic.co/t/linux-file-beat-configuration-not-working/283731/2 "2021-09-09T10:18:34Z")

</div>

Hi @Kannan_Rajendran !

It seems that we are setting Filbeat to send logs to Logstash:

> [@Kannan\_Rajendran](#):
>
> `output.logstash`

Is this what you want?

---

<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:** [October 7, 2021, 12:19pm UTC](https://discuss.elastic.co/t/linux-file-beat-configuration-not-working/283731/3 "2021-10-07T12:19:20Z")

</div>

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