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 Apple System Log files (.asl files) #223

Open
jtmoon79 opened this issue Nov 5, 2023 · 1 comment
Open

support parsing Apple System Log files (.asl files) #223

jtmoon79 opened this issue Nov 5, 2023 · 1 comment
Labels
difficult A difficult problem; a major coding effort or difficult algorithm to perfect enhancement New feature or request file parser P1 important

Comments

@jtmoon79
Copy link
Owner

jtmoon79 commented Nov 5, 2023

Summary

Support parsing Apple System Log files (.asl files).

Here is a short explanation of reading ASL files. The best I can find for Rust implementations is this crate oslog which AFAICT only writes to .asl files.

This Python tool asl binds to the shared available library on a Mac.

This Python tool ccl-asl parses ASL files. It failed to parse .asl files under ./logs/MacOS11/asl/. It successfully parsed ASL file ./logs/MacOS12.6/asl/2023.10.26.G80.asl.

@jtmoon79 jtmoon79 added P1 important datetime format support for parsing some datetime pattern format labels Nov 5, 2023
@jtmoon79 jtmoon79 changed the title support for ASL files (Apple System Log) support for ASL files (Apple System Log) (.atl) Nov 5, 2023
@jtmoon79 jtmoon79 changed the title support for ASL files (Apple System Log) (.atl) support for ASL files (Apple System Log) (.asl) Nov 5, 2023
@jtmoon79 jtmoon79 added the difficult A difficult problem; a major coding effort or difficult algorithm to perfect label Nov 5, 2023
@jtmoon79 jtmoon79 changed the title support for ASL files (Apple System Log) (.asl) support for datetime format ASL files (Apple System Log) (.asl) Nov 5, 2023
@jtmoon79 jtmoon79 changed the title support for datetime format ASL files (Apple System Log) (.asl) support for parsing ASL files (Apple System Log) (.asl) Nov 5, 2023
@jtmoon79 jtmoon79 changed the title support for parsing ASL files (Apple System Log) (.asl) support parsing ASL files (Apple System Log) (.asl files) Nov 5, 2023
@jtmoon79 jtmoon79 added file parser enhancement New feature or request labels Nov 5, 2023
@jtmoon79 jtmoon79 changed the title support parsing ASL files (Apple System Log) (.asl files) support parsing Apple System Log files (.asl files) Nov 6, 2023
@jtmoon79 jtmoon79 removed the datetime format support for parsing some datetime pattern format label Nov 6, 2023
jtmoon79 added a commit that referenced this issue Mar 24, 2024
This is a hack!

Issue #223
jtmoon79 added a commit that referenced this issue Mar 24, 2024
This is a hack!

Issue #223
jtmoon79 added a commit that referenced this issue Mar 24, 2024
This is a hack!

Issue #223
@jtmoon79
Copy link
Owner Author

When implemented, consider adding a comparison to ccl-asl in the README.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficult A difficult problem; a major coding effort or difficult algorithm to perfect enhancement New feature or request file parser P1 important
Projects
None yet
Development

No branches or pull requests

1 participant