# Staggered Logging in ELK Stack

**URL:** https://discuss.elastic.co/t/staggered-logging-in-elk-stack/47535
**Category:** Elasticsearch
**Created:** [April 15, 2016, 8:28pm UTC](https://discuss.elastic.co/t/staggered-logging-in-elk-stack/47535 "2016-04-15T20:28:22Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Michael1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael1/32/29279_2.png) [@Michael1](https://discuss.elastic.co/u/Michael1)
#### Post date: [April 15, 2016, 8:28pm UTC](https://discuss.elastic.co/t/staggered-logging-in-elk-stack/47535/1 "2016-04-15T20:28:22Z")

</div>

As of right now, I am logging into Kibana to check IIS logs that get forwarded and I am noticing that the last log being reported was from two hours ago. There are new ones showing up but it seems to be staggered by a couple of hours.

Could someone please point me in the right direction as to why this staggering would occur? Is this related to not enough resources, such as CPU and MEM? Disk related (not enough IOPS)? Where to begin?

Thanks!

---

<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: [April 15, 2016, 10:13pm UTC](https://discuss.elastic.co/t/staggered-logging-in-elk-stack/47535/2 "2016-04-15T22:13:59Z")

</div>

Everything in ES and LS assumes UTC, KB takes that UTC timestamp and then alters it to match your browser timezone.

So I'd start there.

---

<div class="post-metadata">

### Author: ![Michael1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael1/32/29279_2.png) [@Michael1](https://discuss.elastic.co/u/Michael1)
#### Post date: [April 18, 2016, 2:23pm UTC](https://discuss.elastic.co/t/staggered-logging-in-elk-stack/47535/3 "2016-04-18T14:23:32Z")

</div>

You missed what I asked completely. I am aware of the timezones that are being used. I asked about staggered logging.

---

<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: [April 18, 2016, 8:41pm UTC](https://discuss.elastic.co/t/staggered-logging-in-elk-stack/47535/4 "2016-04-18T20:41:41Z")

</div>

There is no such thing, it either processes or it doesn't.

---

<div class="post-metadata">

### Author: ![Michael1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael1/32/29279_2.png) [@Michael1](https://discuss.elastic.co/u/Michael1)
#### Post date: [April 18, 2016, 8:45pm UTC](https://discuss.elastic.co/t/staggered-logging-in-elk-stack/47535/5 "2016-04-18T20:45:00Z")

</div>

I don't think you have seen the level of logging I am mentioning. We are sending IIS, MS SQL, SharePoint ULS, PaaS Services and more. I am often looking at Kibana and seeing thirty minute+ delays to logs showing up. I can open up IIS logs and find logs within the last hour that aren't in Kibana yet, but they will be in an hour or two. It is STAGGERED. If you haven't worked with this much or experienced this issue, maybe you should monitor the thread since you might learn something.

---

<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: [April 18, 2016, 8:56pm UTC](https://discuss.elastic.co/t/staggered-logging-in-elk-stack/47535/6 "2016-04-18T20:56:52Z")

</div>

Righto boss, good luck 🙂

---

<div class="post-metadata">

### Author: ![Michael1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael1/32/29279_2.png) [@Michael1](https://discuss.elastic.co/u/Michael1)
#### Post date: [April 18, 2016, 9:00pm UTC](https://discuss.elastic.co/t/staggered-logging-in-elk-stack/47535/7 "2016-04-18T21:00:37Z")

</div>

Thanks. I see you work for the Elastic team. I am surprised that as a 'Solutions Architect' you were not able to provide any insight besides 'it processes or it doesn't'. That's kind of a shame, especially since Elastic has been trying to get us to sign up for support. Real motivation to do that in this thread 😉

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [April 19, 2016, 5:51am UTC](https://discuss.elastic.co/t/staggered-logging-in-elk-stack/47535/8 "2016-04-19T05:51:57Z")

</div>

What is the specification of the hardware your cluster and ingestion pipeline is running on? How much data are you trying to ingest per day?

There are a number of factors that can limit performance and cause the ingestion pipeline to not be able to keep up with the flow of data. Indexing into Elasticsearch can be quite CPU intensive and also cause high disk I/O load due to the constant merging of segments that take place. Make sure that you have followed the guidelines [described here](https://www.elastic.co/guide/en/elasticsearch/guide/master/indexing-performance.html) and then monitor your cluster to see if there is any apparent bottlenecks. If there is nothing that stands out, try adding additional load to see if there is spare capacity. If Elasticsearch is the bottleneck, scale up or out depending on what you current cluster looks like.

If Elasticsearch has spare indexing capacity, it may be the ingest pipeline that is limiting throughput, as these type of components can be very CPU intensive. Monitor the components of the ingest pipeline and tune it if possible. Try scaling up or out depending on what your pipeline looks like.

---

<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 5, 2017, 10:58pm UTC](https://discuss.elastic.co/t/staggered-logging-in-elk-stack/47535/9 "2017-07-05T22:58:16Z")

</div>


