Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional information from Kafka output logging #9848

Closed
hartfordfive opened this issue Jul 21, 2018 · 2 comments
Closed

Additional information from Kafka output logging #9848

hartfordfive opened this issue Jul 21, 2018 · 2 comments

Comments

@hartfordfive
Copy link

Logstash version

6.1.1 (with X-Pack)

OS

CentOS 7.3

Description

I sometimes encounter issues with some of my pipelines where the kafka output is unable to publish messages to Kafka. For example, when the failures start occurring, messages such as the following start to flood the log file:

[2018-07-16T08:48:35,632][INFO ][logstash.outputs.kafka   ] Sending batch to Kafka failed. Will retry after a delay. {:batch_size=>2, :failures=>2, :sleep=>0.01}

My issue right now is that there is no indication of which logstash kafka output is failing in this case. Including the pipeline ID and kafka output ID (as well as any other potentially useful details) in the error message would definitely help in the debugging process. Would it be able to add these to the standard log message of the kafka output?

@jsvd
Copy link
Member

jsvd commented Aug 7, 2018

please reopen this issue in the kafka output plugin repository: https://github.com/logstash-plugins/logstash-output-kafka

@jsvd jsvd closed this as completed Aug 7, 2018
@hartfordfive
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants