# Lag in Logs

**URL:** <https://discuss.elastic.co/t/lag-in-logs/327840>\
**Category:** Logstash\
**Created:** [March 16, 2023, 10:23am UTC](https://discuss.elastic.co/t/lag-in-logs/327840 "2023-03-16T10:23:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kriti\_dabas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kriti_dabas/32/118506_2.png) [@kriti\_dabas](https://discuss.elastic.co/u/kriti_dabas)\
**Post date:** [March 16, 2023, 10:23am UTC](https://discuss.elastic.co/t/lag-in-logs/327840/1 "2023-03-16T10:23:29Z")

</div>

Why is there a lag in my logs that too for a particular group?  
I have four kafka consumer groups out of which one group is not giving real-time logs.  
There is a one hour delay in the working hours whenever I monitor them on kibana.  
I have set up a kafka cluster on three nodes all of which are working fine.  
Whenever I check the logs on kafka using the live logs command the logs are coming on time there is no such delay there but rebalancing is happening both on kafka and logstash as shown in logs. Following is the command ------  
bin/kafka-console-consumer.sh --topic ppt1 --group kea\_user --bootstrap-server kafka1:9092

---

<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:** [April 13, 2023, 10:24am UTC](https://discuss.elastic.co/t/lag-in-logs/327840/2 "2023-04-13T10:24:09Z")

</div>

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