# Filebeat: read allways from beginning, even if no update

**URL:** <https://discuss.elastic.co/t/filebeat-read-allways-from-beginning-even-if-no-update/87702>\
**Category:** Beats\
**Created:** [May 31, 2017, 9:29am UTC](https://discuss.elastic.co/t/filebeat-read-allways-from-beginning-even-if-no-update/87702 "2017-05-31T09:29:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)\
**Post date:** [May 31, 2017, 9:29am UTC](https://discuss.elastic.co/t/filebeat-read-allways-from-beginning-even-if-no-update/87702/1 "2017-05-31T09:29:34Z")

</div>

Hi,

when developing new filters usually do it locally on my machine. In my current setup I allways need to add new lines to a sample logfile.

Is it also possible to configure filebeat this way, that it ships the configured file each time from beginning, when I start filebeat? And **without** the need to change the file to trigger the shipping?  
Restarting filebeat on each iteration would be slightly more convenient for me than adding new lines to the logfile.

Thanks, Andreas

---

<div class="post-metadata">

**Author:** ![exekias](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/exekias/32/28718_2.png) [@exekias](https://discuss.elastic.co/u/exekias)\
**Post date:** [May 31, 2017, 9:31am UTC](https://discuss.elastic.co/t/filebeat-read-allways-from-beginning-even-if-no-update/87702/2 "2017-05-31T09:31:28Z")

</div>

Hi,

filebeat remembers the state of files it has visited, you can reset that by removing `data/registry` file, that should cause filebeat to send everything over again (good for testing)

---

<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 21, 2017, 9:29am UTC](https://discuss.elastic.co/t/filebeat-read-allways-from-beginning-even-if-no-update/87702/3 "2017-06-21T09:29:35Z")

</div>

This topic was automatically closed after 21 days. New replies are no longer allowed.
