# How to move log-files to another location after it is processed by Logstash and sent to ElasticSearch

**URL:** <https://discuss.elastic.co/t/how-to-move-log-files-to-another-location-after-it-is-processed-by-logstash-and-sent-to-elasticsearch/73459>\
**Category:** Logstash\
**Created:** [February 1, 2017, 4:45am UTC](https://discuss.elastic.co/t/how-to-move-log-files-to-another-location-after-it-is-processed-by-logstash-and-sent-to-elasticsearch/73459 "2017-02-01T04:45:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anisen](https://avatars.discourse-cdn.com/v4/letter/a/5fc32e/32.png) [@anisen](https://discuss.elastic.co/u/anisen)\
**Post date:** [February 1, 2017, 4:45am UTC](https://discuss.elastic.co/t/how-to-move-log-files-to-another-location-after-it-is-processed-by-logstash-and-sent-to-elasticsearch/73459/1 "2017-02-01T04:45:31Z")

</div>

Hi,

I am processing multiple log-files from a folder using logstash and sending the data to ES.  
Now, I want to move a file to other location once the processing is done. How to do this?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 1, 2017, 4:48am UTC](https://discuss.elastic.co/t/how-to-move-log-files-to-another-location-after-it-is-processed-by-logstash-and-sent-to-elasticsearch/73459/2 "2017-02-01T04:48:36Z")

</div>

Not with Logstash, you need something else to handle that.

---

<div class="post-metadata">

**Author:** ![anisen](https://avatars.discourse-cdn.com/v4/letter/a/5fc32e/32.png) [@anisen](https://discuss.elastic.co/u/anisen)\
**Post date:** [February 1, 2017, 5:02am UTC](https://discuss.elastic.co/t/how-to-move-log-files-to-another-location-after-it-is-processed-by-logstash-and-sent-to-elasticsearch/73459/3 "2017-02-01T05:02:50Z")

</div>

Can u please suggest what to use for this?

And, I also want to see the percentage of log-processed in logstash? How to get that?

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [February 2, 2017, 6:52am UTC](https://discuss.elastic.co/t/how-to-move-log-files-to-another-location-after-it-is-processed-by-logstash-and-sent-to-elasticsearch/73459/4 "2017-02-02T06:52:47Z")

</div>

> <https://stackoverflow.com/questions/33143437/logstash-parsing-progress-bar>

---

<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:** [March 2, 2017, 6:53am UTC](https://discuss.elastic.co/t/how-to-move-log-files-to-another-location-after-it-is-processed-by-logstash-and-sent-to-elasticsearch/73459/5 "2017-03-02T06:53:07Z")

</div>

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