Skip to content

Default logger and events logger use different timestamp formats #5962

@belimawr

Description

@belimawr

This was tested with the latest main from Elastic-Agent and Beats

The default logger (user configurable) and the events logger are using different formats for the timestamp:

Default logger (RFC3339):
"@timestamp":"2024-11-06T21:01:18.537Z"
Event logger (ISO8601):
"@timestamp":"2024-11-06T16:01:03.105-0500"

There is a chance this has been like that since the events logger was introduced by #4549.

Standalone Beats might be affected by this as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions