# Logstash file output

**URL:** <https://discuss.elastic.co/t/logstash-file-output/214288>\
**Category:** Logstash\
**Created:** [January 8, 2020, 5:35pm UTC](https://discuss.elastic.co/t/logstash-file-output/214288 "2020-01-08T17:35:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rahul\_cheekoti](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rahul_cheekoti/32/60497_2.png) [@rahul\_cheekoti](https://discuss.elastic.co/u/rahul_cheekoti)\
**Post date:** [January 8, 2020, 5:35pm UTC](https://discuss.elastic.co/t/logstash-file-output/214288/1 "2020-01-08T17:35:58Z")

</div>

Hi all

My Logstash file generates a output file every day .  
It will modified for every few minutes.  
But when I check the last modified date of file it is updating once the file is created and when new file is created.

Could anyone help us in resolving this.

I need last modified of file updated when ever the file is updated.

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [January 8, 2020, 7:38pm UTC](https://discuss.elastic.co/t/logstash-file-output/214288/2 "2020-01-08T19:38:46Z")

</div>

What platform and file system are you using?

---

<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:** [February 5, 2020, 7:38pm UTC](https://discuss.elastic.co/t/logstash-file-output/214288/3 "2020-02-05T19:38:51Z")

</div>

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