# Force filebeat to reparse CSV

**URL:** https://discuss.elastic.co/t/force-filebeat-to-reparse-csv/237082
**Category:** Beats
**Tags:** filebeat
**Created:** [June 15, 2020, 7:43am UTC](https://discuss.elastic.co/t/force-filebeat-to-reparse-csv/237082 "2020-06-15T07:43:53Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Youssef\_SBAI](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/youssef_sbai/32/64242_2.png) [@Youssef\_SBAI](https://discuss.elastic.co/u/Youssef_SBAI)
#### Post date: [June 15, 2020, 7:43am UTC](https://discuss.elastic.co/t/force-filebeat-to-reparse-csv/237082/1 "2020-06-15T07:43:53Z")

</div>

Hello,

I'm using filebeat and Logstash I want to force re-parse the files provided in the path section, but that doesn't seem to work

my config filebeat is:

```
filebeat.inputs:

- type: log
  enabled: true

  paths:  
     - /data/volumes/monitoring/logstash/logCtrlM/stocks.csv

exclude_lines: ['^chaine']

output.logstash:
  hosts: ["logstash:5044"]
```

---

<div class="post-metadata">

### Author: ![Mario\_Castro](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mario_castro/32/35107_2.png) [@Mario\_Castro](https://discuss.elastic.co/u/Mario_Castro)
#### Post date: [June 15, 2020, 8:41am UTC](https://discuss.elastic.co/t/force-filebeat-to-reparse-csv/237082/2 "2020-06-15T08:41:31Z")

</div>

There's no "reparse" option in Filebeat. However, you can delete the `data` folder where Filebeat stores the metadata which will force reparse of everything

---

<div class="post-metadata">

### Author: ![Youssef\_SBAI](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/youssef_sbai/32/64242_2.png) [@Youssef\_SBAI](https://discuss.elastic.co/u/Youssef_SBAI)
#### Post date: [June 15, 2020, 8:47am UTC](https://discuss.elastic.co/t/force-filebeat-to-reparse-csv/237082/3 "2020-06-15T08:47:33Z")

</div>

The data folder is the registry file beat?

---

<div class="post-metadata">

### Author: ![Mario\_Castro](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mario_castro/32/35107_2.png) [@Mario\_Castro](https://discuss.elastic.co/u/Mario_Castro)
#### Post date: [June 16, 2020, 7:16am UTC](https://discuss.elastic.co/t/force-filebeat-to-reparse-csv/237082/4 "2020-06-16T07:16:15Z")

</div>

Yeap, the registry is the one tracking the position of the "reading cursor" on the files.

---

<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 14, 2020, 7:24am UTC](https://discuss.elastic.co/t/force-filebeat-to-reparse-csv/237082/5 "2020-07-14T07:24:11Z")

</div>

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