T234565: Standardize the logging format is trying to standardize the software logging format with the Elastic Common Schema. If we are able to integrate ECS logs with Event Platform, we can automate ingestion of those log events with all the same tooling.
This would be particularly useful if we are able to successfully migrate the MediaWiki logging format to ECS, as then MediaWiki software logs could be joined with other MediaWiki data in Hive.
I just met with Observability folks in their office hours to discuss this idea. To accomplish this, we'd need:
- An ECS+Event Platform compatible event JSONSchema in schemas/event/primary
- This means combining a JSONSchema ECS schema with the Event Platform required fields
- CI Tooling to generate the Elastic index template schema from the ECS event schema. (This Elastic template schema could be stored in operations/software/ecs as it is now, or in schemas/event/primary)
- Logging streams declared in MediaWiki event stream config
- Logging streams mirrored from the Kafka logging clusters to the Kafka jumbo clusters