# Filebeat, send log file again

**URL:** <https://discuss.elastic.co/t/filebeat-send-log-file-again/78750>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [March 15, 2017, 6:09pm UTC](https://discuss.elastic.co/t/filebeat-send-log-file-again/78750 "2017-03-15T18:09:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hurg](https://avatars.discourse-cdn.com/v4/letter/h/6de8d8/32.png) [@hurg](https://discuss.elastic.co/u/hurg)\
**Post date:** [March 15, 2017, 6:09pm UTC](https://discuss.elastic.co/t/filebeat-send-log-file-again/78750/1 "2017-03-15T18:09:51Z")

</div>

Hello guys.  
Can someone help me?  
I've tested with a new log. After testing I've removed all this data from elasticsearch.  
So how I can re-send this log files?  
Thanks for the help!

---

<div class="post-metadata">

**Author:** ![giuseppe](https://avatars.discourse-cdn.com/v4/letter/g/48db29/32.png) [@giuseppe](https://discuss.elastic.co/u/giuseppe)\
**Post date:** [March 15, 2017, 6:31pm UTC](https://discuss.elastic.co/t/filebeat-send-log-file-again/78750/2 "2017-03-15T18:31:51Z")

</div>

Hi, you should be able to restart from scratch by deleting the `data/registry` file.

---

<div class="post-metadata">

**Author:** ![hurg](https://avatars.discourse-cdn.com/v4/letter/h/6de8d8/32.png) [@hurg](https://discuss.elastic.co/u/hurg)\
**Post date:** [March 15, 2017, 7:57pm UTC](https://discuss.elastic.co/t/filebeat-send-log-file-again/78750/3 "2017-03-15T19:57:22Z")

</div>

Thanks for advice.  
I've many another logs which forwarded via this filebeat. So...should I only remove data regarding this log file in registry file and restart filebeat?

---

<div class="post-metadata">

**Author:** ![giuseppe](https://avatars.discourse-cdn.com/v4/letter/g/48db29/32.png) [@giuseppe](https://discuss.elastic.co/u/giuseppe)\
**Post date:** [March 15, 2017, 8:08pm UTC](https://discuss.elastic.co/t/filebeat-send-log-file-again/78750/4 "2017-03-15T20:08:06Z")

</div>

That should work.

---

<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:** [April 12, 2017, 8:08pm UTC](https://discuss.elastic.co/t/filebeat-send-log-file-again/78750/5 "2017-04-12T20:08:11Z")

</div>

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