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

[Doc] kerberos debug instructions #15779

Merged
merged 7 commits into from
Jan 12, 2024
Merged
13 changes: 13 additions & 0 deletions docs/static/troubleshoot/ts-kafka.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -163,4 +163,17 @@ https://github.com/logstash-plugins/logstash-input-kafka/issues/210
* If (and only if) upgrading is not possible, set `consumer_threads` to `1`.


[discrete]
[[ts-kafka-kerberos-debug]]
===== Debug Kerberos SASL
kaisecheng marked this conversation as resolved.
Show resolved Hide resolved

To troubleshoot authentication failure in Kafka client, add `-Dsun.security.krb5.debug=true` to `jvm.options` and the following lines to `log4j2.properties`
kaisecheng marked this conversation as resolved.
Show resolved Hide resolved

```
logger.kafkainput.name = logstash.inputs.kafka
logger.kafkainput.level = debug
kaisecheng marked this conversation as resolved.
Show resolved Hide resolved
logger.kafka.name = org.apache.kafka
logger.kafka.level = debug
```

NOTE: Kerberos debug log is not being output through log4j but is directed to the console.
kaisecheng marked this conversation as resolved.
Show resolved Hide resolved