# Redundancy in logging "Flushing buffer at interval"

**URL:** https://discuss.elastic.co/t/redundancy-in-logging-flushing-buffer-at-interval/43888
**Category:** Logstash
**Created:** [March 9, 2016, 11:12am UTC](https://discuss.elastic.co/t/redundancy-in-logging-flushing-buffer-at-interval/43888 "2016-03-09T11:12:03Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![NiteshBarnwal](https://avatars.discourse-cdn.com/v4/letter/n/e495f1/32.png) [@NiteshBarnwal](https://discuss.elastic.co/u/NiteshBarnwal)
#### Post date: [March 9, 2016, 11:12am UTC](https://discuss.elastic.co/t/redundancy-in-logging-flushing-buffer-at-interval/43888/1 "2016-03-09T11:12:03Z")

</div>

I am seeing below logs being displayed continuously in debug mode. What may be the issue?

```
 Flushing buffer at interval {:instance=>"#<LogStash::Outputs::ElasticSearch::Buffer:0x357b290a @operations_mutex=#<Mutex:0x3bbcd1d5>, @max_size=500, @operations_lock=#<Java::JavaUtilConcurrentLocks::ReentrantLock:0x3f83427a>, @submit_proc=#<Proc:0x165e8ecd@/installdir/ELK/logstash-2.2.0/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-2.4.1-java/lib/logstash/outputs/elasticsearch/common.rb:55>, @logger=#<Cabin::Channel:0x3b94904a @metrics=#<Cabin::Metrics:0x41cd5277 @metrics_lock=#<Mutex:0x6a7bc668>, @metrics={}, @channel=#<Cabin::Channel:0x3b94904a ...>>, @subscriber_lock=#<Mutex:0x6e356cf3>, @level=:debug, @subscribers={18942=>#<Cabin::Outputs::IO:0x5ac91d15 @io=#<IO:fd 1>, @lock=#<Mutex:0x6e35d8a2>>}, @data={}>, @last_flush=2016-03-09 05:42:49 -0500, @flush_interval=1, @stopping=#<Concurrent::AtomicBoolean:0x4b31c7aa>, @buffer=[], @flush_thread=#<Thread:0x6e04cc24 run>>", :interval=>1, :level=>:debug, :file=>"logstash/outputs/elasticsearch/buffer.rb", :line=>"90", :method=>"interval_flush"}
```

---

<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: [March 11, 2016, 7:14am UTC](https://discuss.elastic.co/t/redundancy-in-logging-flushing-buffer-at-interval/43888/2 "2016-03-11T07:14:59Z")

</div>

There is no issue. This is a debug-level log message indicating that the elasticsearch output plugin is about to attempt to flush whatever is in its buffer.

---

<div class="post-metadata">

### Author: ![NiteshBarnwal](https://avatars.discourse-cdn.com/v4/letter/n/e495f1/32.png) [@NiteshBarnwal](https://discuss.elastic.co/u/NiteshBarnwal)
#### Post date: [March 11, 2016, 8:01am UTC](https://discuss.elastic.co/t/redundancy-in-logging-flushing-buffer-at-interval/43888/3 "2016-03-11T08:01:53Z")

</div>

The above message is rolling 4-5 times per second.. is it fine?

Due to this I am not seeing anything in kibana

 ![](https://us1.discourse-cdn.com/elastic/original/2X/8/88c485087bee255a9033f1729a860b4231047814.png)

---

<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: [March 11, 2016, 8:08am UTC](https://discuss.elastic.co/t/redundancy-in-logging-flushing-buffer-at-interval/43888/4 "2016-03-11T08:08:48Z")

</div>

> The above message is rolling 4-5 times per second.. is it fine?

What does your elasticsearch output configuration look like?

> Due to this I am not seeing anything in kibana

What makes you draw the conclusion that they're related? Does Kibana work fine if you shut down Logstash?

---

<div class="post-metadata">

### Author: ![NiteshBarnwal](https://avatars.discourse-cdn.com/v4/letter/n/e495f1/32.png) [@NiteshBarnwal](https://discuss.elastic.co/u/NiteshBarnwal)
#### Post date: [March 15, 2016, 8:21am UTC](https://discuss.elastic.co/t/redundancy-in-logging-flushing-buffer-at-interval/43888/5 "2016-03-15T08:21:30Z")

</div>

I was wrong. This was not the issue; created another index and worked

---

<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 6, 2017, 5:06am UTC](https://discuss.elastic.co/t/redundancy-in-logging-flushing-buffer-at-interval/43888/6 "2017-07-06T05:06:59Z")

</div>


