简体   繁体   English

Keycloak中缺少审核日志

[英]Missing Audit Logs in Keycloak

在此处输入图片说明

Even after enabling the save events settings in the config tab of Keylcloak admin GUI. 即使在Keylcloak管理GUI的config选项卡中启用了保存事件设置之后。 I am not able to see any logs inside login events. 我在登录事件中看不到任何日志。

在此处输入图片说明

Am I missing any configuration? 我是否缺少任何配置?

Actually that's the only thing you have to do. 实际上,这是您唯一要做的事情。 Which version of keycloak you are on. 您正在使用哪个版本的密钥斗篷。 Did you modify the standalone by any chance. 您是否偶然修改了独立版本。

Audits logs are realm wise. 审核日志是明智的。 If you have configured it for REALM A, then if you are accessing any client that is registered in REALM A will generate the logs. 如果已为REALM A配置了它,则如果您正在访问在REALM A中注册的任何客户端,将生成日志。 You might be login onto MASTER realm and checking the audit logs in someother realm. 您可能已登录到MASTER领域,并在其他领域中检查了审核日志。

Can you also try setting some value in the expiration tab and save. 您还可以尝试在到期标签中设置一些值并保存吗? Also did you try any login/logout/incorrect login after saving this. 您还尝试了保存后是否尝试任何登录/注销/不正确的登录。

Follow this guide to double check your settings. 请按照本指南仔细检查您的设置。 https://www.keycloak.org/docs/3.2/server_admin/topics/events/login.html https://www.keycloak.org/docs/3.2/server_admin/topics/events/login.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM