# How to load the old data (such as MySQL slow sql log) by filebeat?

**URL:** <https://discuss.elastic.co/t/how-to-load-the-old-data-such-as-mysql-slow-sql-log-by-filebeat/93786>\
**Category:** Beats\
**Created:** [July 19, 2017, 2:29pm UTC](https://discuss.elastic.co/t/how-to-load-the-old-data-such-as-mysql-slow-sql-log-by-filebeat/93786 "2017-07-19T14:29:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steven\_Li](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@Steven\_Li](https://discuss.elastic.co/u/Steven_Li)\
**Post date:** [July 19, 2017, 2:29pm UTC](https://discuss.elastic.co/t/how-to-load-the-old-data-such-as-mysql-slow-sql-log-by-filebeat/93786/1 "2017-07-19T14:29:07Z")

</div>

For confirmed bugs, please report:

Version: 5.3.0  
Operating System: CentOS  
Steps to Reproduce:  
Now, only the logs after 09:07(time) can be sent to Logstash, then persisted to Elasticsearch.  
Others before the date can't be loaded by filebeat.

I have tried to stop filebeat server(5044) and delete or change the path of registry file, but all failed.  
The offset in the registry is equal to zero.  
I have tried to delete the index in Elasticsearch, but all failed.

How to load the old data? Pls help, thanks.

---

<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:** [August 9, 2017, 2:29pm UTC](https://discuss.elastic.co/t/how-to-load-the-old-data-such-as-mysql-slow-sql-log-by-filebeat/93786/2 "2017-08-09T14:29:08Z")

</div>

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