You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an issue with using @elastic/ecs-pino-format package together with pino-pretty which uses pino-abstract-transport internally.
The problem is that @elastic/ecs-pino-format use custom formatters which changes time field to @timestamp and level to log.level. As result pino-abstract-transport can not fulfill metadata object correctly because of this code:
Hello.
I have an issue with using
@elastic/ecs-pino-format
package together withpino-pretty
which usespino-abstract-transport
internally.The problem is that
@elastic/ecs-pino-format
use custom formatters which changes time field to@timestamp
and level tolog.level
. As resultpino-abstract-transport
can not fulfill metadata object correctly because of this code:Here the library takes hard-coded
time
andlevel
fields and gives no options to override this behavior.The text was updated successfully, but these errors were encountered: