Hi, anyone have an idea for better configuration for logstash? We are getting a lot of kafka lags
For consuming data from Kafka by Logstash, there’re some best practices:
- Group the Logstash instances, make sure that a big Kafka topic is consumed by a single group of Logstash instances, and other small or medium topics are consumed by other groups.
- Make sure that the partition numbers of a topic equals to the number of consumer_threads in Logstash.
, hope this helps.