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 parsing datetime format for proftpd #42

Closed
jtmoon79 opened this issue Oct 7, 2022 · 0 comments
Closed

support parsing datetime format for proftpd #42

jtmoon79 opened this issue Oct 7, 2022 · 0 comments
Labels
datetime format support for parsing some datetime pattern format enhancement New feature or request good first issue Good for newcomers

Comments

@jtmoon79
Copy link
Owner

jtmoon79 commented Oct 7, 2022

Problem

Popular ftp server proftpd has unsupported syslog datetime format

Sat Oct 03 11:26:12 2020 0 192.168.0.8 0 /var/log/proftpd/xferlog b _ o r root ftp 0 * c

Solution

Add support for the datetime format. Add built-in tests to datetime.rs and comment which test cases are that format.

@jtmoon79 jtmoon79 added enhancement New feature or request good first issue Good for newcomers labels Oct 7, 2022
@jtmoon79 jtmoon79 changed the title support parsing datetime format for proftpd xferlog support parsing datetime format for proftpd Oct 7, 2022
jtmoon79 added a commit that referenced this issue Jan 3, 2023
Combine regular expression patterns `CGP_DAYd` and `CGP_DAYe`.
The function `captures_to_buffer_bytes` will handle processing
either " 1" or "01".

Issue #58

More log datetime formats are handled.
Issue #42
Issue #47
@jtmoon79 jtmoon79 closed this as completed Jan 8, 2023
@jtmoon79 jtmoon79 added the datetime format support for parsing some datetime pattern format label Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datetime format support for parsing some datetime pattern format enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant