osxhacker / demo-microsite

An exploration of microsite/microservice concepts.
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Service Logging #12

Closed osxhacker closed 9 months ago

osxhacker commented 10 months ago

The microservices currently support Logstash JSON log events via the net.logstash.logback.layout.LogstashLayout class. Also, minimal context is provided by each subsystem with the ContextualLoggerFactory type.

The purpose of this enhancement is to ensure consistent configuration of the logging subsystem and to establish best practices for:

osxhacker commented 10 months ago

Grafana Loki does not support JSON fields which have separators (such as . or -). Fortunately, Logstash supports transforming JSON log events.

Included in this effort is additional configuration and documentation which captures what must be done to transform ECS in logstash into JSON objects which Loki can successfully ingest.

osxhacker commented 9 months ago

During the effort to standardize logging, the functional Aspect Oriented Programming component required enhancements to better model functional programming techniques. As such, this enhancement contains them as well.