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

Support log4j format for timestamps (comma-milliseconds) #17794

Closed
mtojek opened this issue Apr 17, 2020 · 2 comments
Closed

Support log4j format for timestamps (comma-milliseconds) #17794

mtojek opened this issue Apr 17, 2020 · 2 comments
Labels
Stalled Team:Integrations Label for the Integrations team

Comments

@mtojek
Copy link
Contributor

mtojek commented Apr 17, 2020

The Go method time.ParseDuration only supports strings with "dot-milliseconds" format:
2006-01-02 15:04:05.000 (dot)

There were few inquiries already about support for log4j format:
2006-01-02 15:04:05,000 (comma)
e.g. https://discuss.elastic.co/t/using-timestamp-processor-fails/228348/2:

or "colon-milliseconds":
03.12.19 17:47:38:402 (colon)
#15012

The issue in Go project seems to be open for a longer time (golang/go#6189), I even spotted @sayden linking a similar issue. I think it would valuable for Beats to support this format out-of-the-box.

@mtojek mtojek added the Team:Integrations Label for the Integrations team label Apr 17, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations (Team:Integrations)

@botelastic
Copy link

botelastic bot commented Mar 20, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@botelastic botelastic bot added the Stalled label Mar 20, 2021
@botelastic botelastic bot closed this as completed Apr 19, 2021
@zube zube bot removed the [zube]: Done label Jul 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stalled Team:Integrations Label for the Integrations team
Projects
None yet
Development

No branches or pull requests

3 participants