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 more timestamp formats #36

Closed
sebhaase opened this issue Dec 8, 2023 · 5 comments
Closed

support more timestamp formats #36

sebhaase opened this issue Dec 8, 2023 · 5 comments

Comments

@sebhaase
Copy link

sebhaase commented Dec 8, 2023

I have 2023/12/03 02:30:18 in my nginx log
and [Fri Dec 01 00:00:25.933177 2023] in my apache log.
Could those be support ed by default? Or can I add support via the --timestamp_format option?
Otherwise, it looks like a very useful nice tool.

@ptmcg
Copy link
Owner

ptmcg commented Dec 8, 2023

These both look pretty common (both the formats and popularity of those log files), I'll add them to the set of known formats in logmerger.

Could you send a single sample log line with each format that I can use for testing? (Be sure it doesn't include any personal or secret information.)

@ptmcg
Copy link
Owner

ptmcg commented Dec 8, 2023

Never mind, what you have already sent should be sufficient.

@ptmcg
Copy link
Owner

ptmcg commented Dec 8, 2023

The nginx log timestamp looks pretty standard. Is the Apache log format also a standard/default format, or something your site has customized?

@sebhaase
Copy link
Author

sebhaase commented Dec 8, 2023

As far as I know, we use a very common custom format — at least it is directly copied from the official docs.

ptmcg added a commit that referenced this issue Sep 28, 2024
@ptmcg
Copy link
Owner

ptmcg commented Oct 1, 2024

Apache log format was added in 0.10.0 - closing.

@ptmcg ptmcg closed this as completed Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants