Open trentm opened 3 years ago
The current title line pattern is roughly:
[@timestamp] LOG.LEVEL (log.logger/service.name on host.hostname): message
I think the parens section is weak. It comes at least partly from my bunyan experience For comparison:
typical bunyan: [@timestamp] LEVEL (name/pid on host): message typical pino: [@timestamp] LEVEL (pid on host): message typical winston: [@timestamp] LEVEL: message
Notes:
name
log.logger
pid
process.pid
service.name
Bunyan will include "src" fields in the title line, I think.
"log.origin"."file.name"
The current title line pattern is roughly:
I think the parens section is weak. It comes at least partly from my bunyan experience For comparison:
Notes:
name
field, which is the equivalent oflog.logger
in ECS.pid
(ECS equivalent isprocess.pid
)service.name
will typically only be there with automatic injection from APM agents.