-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Audit log doesn't work #4309
Comments
Hello there WarszawskiDev! 👋 Thank you and congratulations 🎉 for opening your very first issue in this project! 💖 In case you want to claim this issue, please comment down below! We will try to get back to you as soon as we can. 👀 |
I was able to get audit logging working with the kafka:
clusters:
- name: local
BOOTSTRAPSERVERS: kafka1:19092
audit:
topicAuditEnabled: true
consoleAuditEnabled: true
topic: "__kui-audit-log" # default name
auditTopicProperties: # any kafka topic properties in format of a map
- retention.ms: 43200000
auditTopicsPartitions: 1 # how many partitions, default is 1
level: ALL # either ALL or ALTER_ONLY (default). ALL will log all read operations. |
This config worked for me by changing auditTopicProperties: # any kafka topic properties in format of a map
- retention.ms: 43200000 to auditTopicProperties: # any kafka topic properties in format of a map
retention.ms: 43200000 |
After adding above config the __kui-audit-log topic created but the messages are not coming, what might be the issue? This is my configuration |
I was facing the same issue using the Helm chart. I resolved the issue by using camelCase (as mentioned above) and bumping the Helm version to So the issue seems to have been resolved in the latest release |
for me, still it does not work.
|
Please note this repo is not maintained (#4255), but we've fixed this issue here: https://github.com/kafbat/kafka-ui |
For me it is working and able to see audit logs, This is my config
|
Issue submitter TODO list
master
-labeled docker image and the issue still persists thereDescribe the bug (actual behavior)
I have Apache Kafka UI cluster section configured same like described in this documentation page: https://docs.kafka-ui.provectus.io/configuration/audit-log
I also have rdap with azure oauth2 configured based on roles - if it's important
Applications starts normally but there is no even any information about audit logs in console (also with log level trace) and audit topic is not present
docker-compose file:
Expected behavior
Audi log should log information about topic/message access on both audit log topic and in console
Your installation details
Steps to reproduce
Run application with audi log enabled like described here: https://docs.kafka-ui.provectus.io/configuration/audit-log
Screenshots
No response
Logs
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: