Skip to content
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

Default logger and events logger use different timestamp formats #5962

Open
belimawr opened this issue Nov 6, 2024 · 1 comment
Open

Default logger and events logger use different timestamp formats #5962

belimawr opened this issue Nov 6, 2024 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers Team:Elastic-Agent Label for the Agent team

Comments

@belimawr
Copy link
Contributor

belimawr commented Nov 6, 2024

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.

@belimawr belimawr added bug Something isn't working Team:Elastic-Agent Label for the Agent team labels Nov 6, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent (Team:Elastic-Agent)

@ycombinator ycombinator added the good first issue Good for newcomers label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers Team:Elastic-Agent Label for the Agent team
Projects
None yet
Development

No branches or pull requests

3 participants