Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rsatrio/keycloak-graylog-integration


https://github.com/rsatrio/keycloak-graylog-integration

Last synced: 10 days ago
JSON representation

Awesome Lists containing this project

README

        

## Keycloak Logging to Graylog (or other Syslog server)

Below are steps to sending keycloak's event logging to graylog:

1. Setup syslog as one of graylog's input. Note the IP Address port, and protocol (TCP/UDP) for the syslog input

https://www.graylog.org/post/how-to-use-graylog-as-a-syslog-server

2. Activate Event Logging in Keycloak's realm from its admin console:

https://www.keycloak.org/docs/latest/server_admin/index.html#auditing-and-events

3. Open $KEYCLOAK_HOME/standalone/configuration/standalone.xml

4. Add below line under

















```

5. Start keycloak and check logging.properties under standalone's configuration folder($KEYCLOAK_HOME/standalone/configuration/logging.properties), the configuration should now contain handler with name graylog

6. Try to login to one of the keycloak's client (i.e account) using false username/password. There should be log(s) sent to graylog by keycloak