Keycloak logging to JSON format message field Keycloak logging to JSON format message field kubernetes kubernetes

Keycloak logging to JSON format message field


Check this project on GitHub: keycloak_jsonlog_eventlistener: Outputs Keycloak events as JSON into the server log.

Keycloak JSON Log Eventlistener

Primarily written for the Jboss Keycloak docker image, it will output Keycloak events as JSON into the keycloak server log.

The idea is to parse logs once they get to logstash via journalbeat.

Tested with Keycloak version 8.0.1