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

Pp 13603 add time stamps #21

Merged
merged 4 commits into from
Feb 19, 2025
Merged

Pp 13603 add time stamps #21

merged 4 commits into from
Feb 19, 2025

Conversation

danworth
Copy link
Contributor

@danworth danworth commented Feb 19, 2025

Next batch of time extraction.

I'm keeping an eye on how large index.ts is getting and will consider splitting the time functions out into a separate file if necessary later on. The regex for the audit logs of /msg=audit\((\d+\.\d{3}):\d+\)/ is based upon a message including something like msg=audit(1739184096.304:468) which seems pretty safe based on looking at the formats, it could be made a little looser if we just looked for \(\d+\.\d{3}):\d+\, seems a balance between making sure we get what we expect versus becoming too brittle to future log format changes 🤷

Copy link
Contributor

@kbottla kbottla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@danworth danworth merged commit 1424f60 into main Feb 19, 2025
3 checks passed
@danworth danworth deleted the PP-13603_add_time_stamps branch February 19, 2025 09:02
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

Successfully merging this pull request may close these issues.

2 participants