keycloak-config-cli
keycloak-config-cli copied to clipboard
Add custom field "app=keycloak-config-cli" to JSON LogstashEncoder output
Problem Statement
In order to simplify finding logs from Keycloak Config CLI in a log aggregator like Kibana, it would be beneficial to mark every log entry with a custom field which identifies the CLI as its source.
Proposed Solution
- Add a custom field to the src/main/resources/logback-spring.xml file with name="app" and value="keycloak-config-cli"
Environment
- Keycloak Version: all
- keycloak-config-cli Version: all
- Java Version: all
Additional information
No response
Acceptance Criteria
- The custom field "app=keycloak-config-cli" is added to each log message when using the "json-log" spring profile.