# Filebeat read same file again

**URL:** <https://discuss.elastic.co/t/filebeat-read-same-file-again/184990>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [June 10, 2019, 12:57pm UTC](https://discuss.elastic.co/t/filebeat-read-same-file-again/184990 "2019-06-10T12:57:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![OlegInishev](https://avatars.discourse-cdn.com/v4/letter/o/b782af/32.png) [@OlegInishev](https://discuss.elastic.co/u/OlegInishev)\
**Post date:** [June 10, 2019, 12:57pm UTC](https://discuss.elastic.co/t/filebeat-read-same-file-again/184990/1 "2019-06-10T12:57:48Z")

</div>

Hi everyone  
I have very extraordinary task.  
I want read /proc/self/mounts every 1 min (maybe every 5min)  
and read all lines from file all time.  
I have next config  
- type: log  
paths:  
- /proc/self/mounts  
close\_removed: true  
ignore\_older: 1m  
clean\_inactive: 2m  
But after deleting /proc/self/mounts from /var/lib/filebeat/registry, file /proc/self/mounts not reading again.  
What you can recomend, in my case?

---

<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:** [July 8, 2019, 12:57pm UTC](https://discuss.elastic.co/t/filebeat-read-same-file-again/184990/2 "2019-07-08T12:57:52Z")

</div>

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