# Filebeat doesnt capture log file \[8.2\]

**URL:** https://discuss.elastic.co/t/filebeat-doesnt-capture-log-file-8-2/304889
**Category:** Beats
**Tags:** filebeat
**Created:** [May 17, 2022, 6:33am UTC](https://discuss.elastic.co/t/filebeat-doesnt-capture-log-file-8-2/304889 "2022-05-17T06:33:40Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![adliazaddin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adliazaddin/32/105524_2.png) [@adliazaddin](https://discuss.elastic.co/u/adliazaddin)
#### Post date: [May 17, 2022, 6:33am UTC](https://discuss.elastic.co/t/filebeat-doesnt-capture-log-file-8-2/304889/1 "2022-05-17T06:33:40Z")

</div>

Hello,

my filebeat doesnt seem to collect my logs (i have multiple source, and filebeat only capture the most bottom part. and adding file in the module.d doesnt capture either) theres nothing on the filebeat log

below is my configuration

```auto
filebeat.inputs:
- type: log
  enabled: true
  paths:
  - '/log/path-1.log'
  multiline:
    pattern: '^\d{4}-\d{2}-\d{2}[T]\d{2}:\d{2}'
    match: after
    negate: true

processors:
- add_locale: ~

output.elasticsearch:
  hosts: ["ip:9200"]
  index: "no1"
  pipeline: "no1-pipeline"

setup:
  template.enabled: false
  ilm.enabled: false

filebeat.inputs:
- type: log
  enabled: true
  paths:
  - '/path/to.log2.log'
  multiline:
    pattern: '^\d{4}-\d{2}-\d{2}[T]\d{2}:\d{2}'
    match: after
    negate: true

processors:
- add_locale: ~

output.elasticsearch:
  hosts: ["ip:9200"]
  index: "no2"
  pipeline: "no2-pipeline"

setup:
  template.enabled: false
  ilm.enabled: false

```

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: [June 14, 2022, 8:34am UTC](https://discuss.elastic.co/t/filebeat-doesnt-capture-log-file-8-2/304889/2 "2022-06-14T08:34:14Z")

</div>

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