Logstash kafka output plugin - What happens if Kafka goes down

Hi All,

I am looking to use the Logstash Kafka output plugin to post events to a Kafka topic.

While logstash is pushing logs what happens if Kafka server goes down suddenly for some reason? By the time we bring back Kafka, do we loose data/events? If not, how does logstash handle this?

Please clarify

Thank you

The documentation of the retries option explains this.

1 Like

Excuse my ignorance. I should have checked the kafka output plugin configuration a bit thoroughly :slightly_smiling_face:

Thank you for the response.

Absolutely not a problem. There is a huge volume of documentation for the Elastic Stack, and if you ask a clear question about what piece of documentation you need to read then folks will be happy to provide it.

1 Like

Sure, thank you