Skip to content

Some log messages are not accepted by the elastic search, but pino-elasticsearch does not show any error or warning #61

@euglv

Description

@euglv

For example, if different log objects have fields with the same name but with different value type.
If we do:

logger.info({ test: 123 });
logger.info({ test: "string value" }); // this log message will not be added 

Then the last log message will not be added to the elastic search because of the error: failed to parse field [test] of type [long] in document with id ... but pino-elasticsearch will not output any error or warning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions