-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use ecszap formatter to add MVP support for ECS logging #17942
Labels
Comments
Pinging @elastic/integrations (Team:Integrations) |
andresrc
added
Team:apm
APM Server team issues/PRs
[zube]: In Progress
and removed
[zube]: Inbox
labels
Apr 27, 2020
simitt
added a commit
to simitt/beats
that referenced
this issue
May 4, 2020
Enable ECS conformant logging by setting `logging.ecs:true` Adds @timestamp, log.level, message and ecs.version to every log line. If EnableCaller is set add log.origin.file and log.origin.line. Logs error.message when error is given implements elastic#17942
simitt
added a commit
that referenced
this issue
May 5, 2020
Enable minimal ECS conformant logging by setting `logging.ecs:true`: * adds @timestamp, log.level, message and ecs.version to every log line * if EnableCaller is set add log.origin.file and log.origin.line. * logs error.message when error is given implements #17942
simitt
added a commit
to simitt/beats
that referenced
this issue
May 5, 2020
Enable minimal ECS conformant logging by setting `logging.ecs:true`: * adds @timestamp, log.level, message and ecs.version to every log line * if EnableCaller is set add log.origin.file and log.origin.line. * logs error.message when error is given implements elastic#17942
simitt
added a commit
that referenced
this issue
May 5, 2020
Enable minimal ECS conformant logging by setting `logging.ecs:true`: * adds @timestamp, log.level, message and ecs.version to every log line * if EnableCaller is set add log.origin.file and log.origin.line. * logs error.message when error is given implements #17942
Implemented with #17974 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Motivation/Summary
As part of the ECS logging effort, integrate the new ecszap formatter in libbeats logging layer. The intention is to let users enable ECS compliant logging. The log formatter currently supports adding ECS fields defined as MVP in the ecs-logging project. If a caller is logged, the logging format also adheres to ECS.
ECS compliant error logging is not yet fully supported, but the general ECS error format is respected, by following the format
"error": { "message": "", "stacktrace": "" }
.This is part of the ECS logging effort described in #15544.
The text was updated successfully, but these errors were encountered: