# \[Resolved\]Logstash - what does logstash Starting flush cycle mean?

**URL:** https://discuss.elastic.co/t/resolved-logstash-what-does-logstash-starting-flush-cycle-mean/180126
**Category:** Logstash
**Created:** [May 8, 2019, 8:31am UTC](https://discuss.elastic.co/t/resolved-logstash-what-does-logstash-starting-flush-cycle-mean/180126 "2019-05-08T08:31:24Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![cheriemilk](https://avatars.discourse-cdn.com/v4/letter/c/c37758/32.png) [@cheriemilk](https://discuss.elastic.co/u/cheriemilk)
#### Post date: [May 8, 2019, 8:31am UTC](https://discuss.elastic.co/t/resolved-logstash-what-does-logstash-starting-flush-cycle-mean/180126/1 "2019-05-08T08:31:24Z")

</div>

As titled.

---

<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: [May 8, 2019, 1:11pm UTC](https://discuss.elastic.co/t/resolved-logstash-what-does-logstash-starting-flush-cycle-mean/180126/2 "2019-05-08T13:11:49Z")

</div>

If you are using a file output then ruby will not necessarily write data to the file on disk just because an event is sent to the output. Ruby can choose to buffer writes together to reduce overhead. A flush forces Ruby to do the write to disk (although the OS may continue to buffer if it has writeback rather than writethrough semantics for the filesystem). The file output periodically does this, and logs that debug message when it does so.

---

<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: [June 5, 2019, 1:11pm UTC](https://discuss.elastic.co/t/resolved-logstash-what-does-logstash-starting-flush-cycle-mean/180126/3 "2019-06-05T13:11:50Z")

</div>

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