Log data can be automatically routed to Grafana Loki. Grafana Loki is a horizontally scalable,
highly available, multi-tenant log aggregation system inspired by Prometheus. It is designed to be
very cost effective and easy to operate. It does not index the contents of the logs, but rather a set of
labels for each log stream.
Support is enabled by including the following module in the overlay:
dependencies{/*
The following platform references should be included automatically and are listed here for reference only.
implementation enforcedPlatform("org.apereo.cas:cas-server-support-bom:${project.'cas.version'}")
implementation platform(org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES)
*/implementation"org.apereo.cas:cas-server-support-logging-config-loki"}
With the above module, you may then declare a specific appender to communicate with Loki:
The plugin by default sends POST requests to /loki/api/v1/push HTTP endpoint. The above configuration
will configure the appender to call to URL: http://loki.mydomain.com:3100/loki/api/v1/push.