# Question about config for changing CSV

**URL:** <https://discuss.elastic.co/t/question-about-config-for-changing-csv/82024>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [April 11, 2017, 5:22pm UTC](https://discuss.elastic.co/t/question-about-config-for-changing-csv/82024 "2017-04-11T17:22:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![brandono](https://avatars.discourse-cdn.com/v4/letter/b/439d5e/32.png) [@brandono](https://discuss.elastic.co/u/brandono)\
**Post date:** [April 11, 2017, 5:22pm UTC](https://discuss.elastic.co/t/question-about-config-for-changing-csv/82024/1 "2017-04-11T17:22:55Z")

</div>

I'm new to filebeat, and looking for some guidance for a use-case. I'm looking to use filebeat on a remote computer in order to forward a CSV to logstash. The CSV is updated daily. New data is appended throughout the CSV, meaning new data is not entered in the bottom. How do I configure filebeat to send the entire csv to logstash after it has been updated once a day?

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [April 13, 2017, 1:15pm UTC](https://discuss.elastic.co/t/question-about-config-for-changing-csv/82024/2 "2017-04-13T13:15:19Z")

</div>

You could use the `clean_inactive` config option together wither `ignore_older` and set it to value like `2h`. That means if the file is updated only once per day, the registry entry will be removed and next time the file is update, not state exists so it will start from scratch.

---

<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 2, 2017, 5:23pm UTC](https://discuss.elastic.co/t/question-about-config-for-changing-csv/82024/3 "2017-05-02T17:23:08Z")

</div>

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