# Filebeat doesn't work with tail\_files for Multiline pattern files

**URL:** <https://discuss.elastic.co/t/filebeat-doesnt-work-with-tail-files-for-multiline-pattern-files/126674>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [April 4, 2018, 5:52am UTC](https://discuss.elastic.co/t/filebeat-doesnt-work-with-tail-files-for-multiline-pattern-files/126674 "2018-04-04T05:52:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashurawat](https://avatars.discourse-cdn.com/v4/letter/a/bb73d2/32.png) [@ashurawat](https://discuss.elastic.co/u/ashurawat)\
**Post date:** [April 4, 2018, 5:52am UTC](https://discuss.elastic.co/t/filebeat-doesnt-work-with-tail-files-for-multiline-pattern-files/126674/1 "2018-04-04T05:52:41Z")

</div>

I am trying with the option of tail\_files: true but its not even reading the files which are continuously coming to the directory.

Its opening the prospector but not able to start harvester for any file.

2018/04/04 05:46:57.996815 registrar.go:123: INFO States Loaded from registrar: 0  
2018/04/04 05:46:57.996860 crawler.go:38: INFO Loading Prospectors: 2  
2018/04/04 05:46:57.996878 registrar.go:236: INFO Starting Registrar  
2018/04/04 05:46:57.996979 async.go:72: INFO Start sending events to output  
2018/04/04 05:46:57.996973 prospector\_log.go:65: INFO Prospector with previous states loaded: 0  
2018/04/04 05:46:57.997045 spooler.go:63: INFO Starting spooler: spool\_size: 2048; idle\_timeout: 5s  
2018/04/04 05:46:57.997423 prospector.go:124: INFO Starting prospector of type: log; id: 16398777863234065337  
2018/04/04 05:46:57.997610 prospector\_log.go:65: INFO Prospector with previous states loaded: 0  
2018/04/04 05:46:57.997788 prospector.go:124: INFO Starting prospector of type: log; id: 4689995440609842373  
2018/04/04 05:46:57.997817 crawler.go:58: INFO Loading and starting Prospectors completed. Enabled prospectors: 2  
2018/04/04 05:47:27.994472 metrics.go:39: INFO Non-zero metrics in the last 30s: registrar.writes=1  
2018/04/04 05:47:57.994265 metrics.go:34: INFO No non-zero metrics in the last 30s  
2018/04/04 05:48:27.994229 metrics.go:34: INFO No non-zero metrics in the last 30s  
2018/04/04 05:48:57.994269 metrics.go:34: INFO No non-zero metrics in the last 30s  
2018/04/04 05:49:27.994276 metrics.go:34: INFO No non-zero metrics in the last 30s  
2018/04/04 05:49:57.994213 metrics.go:34: INFO No non-zero metrics in the last 30s  
2018/04/04 05:50:27.994251 metrics.go:34: INFO No non-zero metrics in the last 30s  
2018/04/04 05:50:57.994161 metrics.go:34: INFO No non-zero metrics in the last 30s  
2018/04/04 05:51:27.994222 metrics.go:34: INFO No non-zero metrics in the last 30s

My configuration is

filebeat.prospectors:

- input: log  
paths:

- input: log  
paths:

---

<div class="post-metadata">

**Author:** ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)\
**Post date:** [April 4, 2018, 8:17am UTC](https://discuss.elastic.co/t/filebeat-doesnt-work-with-tail-files-for-multiline-pattern-files/126674/2 "2018-04-04T08:17:46Z")

</div>

Could you please share the debug logs of Filebeat? You can get them using `./filebeat -e -d "*"`.

---

<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:** [May 2, 2018, 8:17am UTC](https://discuss.elastic.co/t/filebeat-doesnt-work-with-tail-files-for-multiline-pattern-files/126674/3 "2018-05-02T08:17:55Z")

</div>

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