# Is there any way to redo the input of beats?

**URL:** <https://discuss.elastic.co/t/is-there-any-way-to-redo-the-input-of-beats/268863>\
**Category:** Logstash\
**Created:** [March 31, 2021, 5:18am UTC](https://discuss.elastic.co/t/is-there-any-way-to-redo-the-input-of-beats/268863 "2021-03-31T05:18:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![its-ogawa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/its-ogawa/32/120829_2.png) [@its-ogawa](https://discuss.elastic.co/u/its-ogawa)\
**Post date:** [March 31, 2021, 5:18am UTC](https://discuss.elastic.co/t/is-there-any-way-to-redo-the-input-of-beats/268863/1 "2021-03-31T05:18:28Z")

</div>

I am sending logs from filebeat to logstash.  
However, when I added filebeat to a new server and restarted logstash, some kind of failure caused most of the logs to be thrown away.

I would like to start logging again from the beginning. Is there something in the beats plugin of logstash like the sincedb\_path in the file plugin?

---

<div class="post-metadata">

**Author:** ![its-ogawa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/its-ogawa/32/120829_2.png) [@its-ogawa](https://discuss.elastic.co/u/its-ogawa)\
**Post date:** [April 1, 2021, 2:53am UTC](https://discuss.elastic.co/t/is-there-any-way-to-redo-the-input-of-beats/268863/2 "2021-04-01T02:53:45Z")

</div>

Restarting logstash does not reacquire logs that have already been retrieved, right?

I don't want that to happen if all the logs are reacquired on restart.

Is there any good way to do this?

---

<div class="post-metadata">

**Author:** ![its-ogawa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/its-ogawa/32/120829_2.png) [@its-ogawa](https://discuss.elastic.co/u/its-ogawa)\
**Post date:** [April 14, 2021, 10:50am UTC](https://discuss.elastic.co/t/is-there-any-way-to-redo-the-input-of-beats/268863/3 "2021-04-14T10:50:23Z")

</div>

If you want to re-read a log that has already been read, does that mean you have to delete the registry?  
The registry is located at `registry.path` if you have set it, otherwise, it is generally a file under `/var/lib/filebeat/registry`.  
Is this correct?

For more information about the registry, see the following

> **[Configure general settings | Filebeat Reference \[7.12\] | Elastic](https://www.elastic.co/guide/en/beats/filebeat/current/configuration-general-options.html)**

---

<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 12, 2021, 10:51am UTC](https://discuss.elastic.co/t/is-there-any-way-to-redo-the-input-of-beats/268863/4 "2021-05-12T10:51:08Z")

</div>

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