Repository navigation
v2.16.2
ECS logs aligned with other ECS-logging services
LOG_FORMAT=ecs now produces the same shape as other ECS-logging services
on the same Elastic stack, so one Kibana query works across them:
- Nested JSON objects ("http":{"response":{"status_code":401}}) instead
of dotted keys. - HTTP request records:
- message "GET /api/namespaces 401" (was "http.request");
- event.kind / category [web] / type [access] / outcome (failure for
4xx and 5xx); - event.duration measured in nanoseconds (was milliseconds × 10⁶, so
sub-millisecond requests showed 0); - http.response.body.bytes;
- the client address is source.ip (was client.ip).
- Audit records:
- message "admin: deployment.restart.success deployment
kube-system/coredns on prod"; - event.kind and event.outcome; event.category for sign-ins
(authentication) and pod shells (process).
- message "admin: deployment.restart.success deployment
- Every record carries event.dataset (openconsole.audit or
openconsole.app) and log.logger (http or audit). - Successful /healthz, /livez, /readyz and /metrics requests are logged at
debug level only; failing ones still show up. This applies to every
log format. - deploy/deployment.yaml sets APP_ENV=prod (service.environment).
- LOG_FORMAT=json is unchanged.
deploy/elk
- The pipeline recognises both the nested 2.16.2 lines and the dotted
2.16.1 lines, so an upgrade with both versions running briefly needs no
extra step. It fills event.dataset / event.outcome only where a line
lacks them. - Mappings add source.ip (ip), http.response.body.bytes (long),
event.category / event.type and log.logger (keyword). - Verified on Elasticsearch 8.15.3 and 9.1.0 with real lines from both
versions.
Upgrade notes
- Re-run deploy/elk/install.sh to update the pipeline and mappings before
or right after rolling out 2.16.2. - Kibana searches on client.ip need source.ip; searches on
message:"http.request" need log.logger:"http" or event.category:"web". - Set APP_ENV to your cluster's environment if it isn't prod.
Image: ghcr.io/vurulkan/kubernetes-openconsole:2.16.2 = :latest (same digest), linux/amd64 + linux/arm64, with GitHub-attested provenance and SBOM.
🤖 Generated with Claude Code