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

Create a dateless helper for logs with date-less timestamps #4697

Open
rick-slin opened this issue Jun 22, 2023 · 7 comments
Open

Create a dateless helper for logs with date-less timestamps #4697

rick-slin opened this issue Jun 22, 2023 · 7 comments
Assignees
Labels
core Issues relating to Plaso's core - processing, file access etc. enhancement New or improved functionality

Comments

@rick-slin
Copy link
Contributor

Describe the problem:

Some log files do not have the date in their timestamp. This is the case for ps.txt log files in MacOS/iOS for example. I wish to create a dateless_helper modeled on the yearless helper.

@joachimmetz joachimmetz self-assigned this Mar 29, 2024
@joachimmetz joachimmetz added enhancement New or improved functionality core Issues relating to Plaso's core - processing, file access etc. labels Mar 29, 2024
@joachimmetz joachimmetz added this to the 2024 April release milestone Mar 29, 2024
@joachimmetz
Copy link
Member

joachimmetz commented Mar 29, 2024

@rick-slin given several short-comings in #4699 working on an alternative

@joachimmetz joachimmetz changed the title Create a dateless helper for logs that lack a date for each timestamps Create a dateless helper for logs with date-less timestamps Mar 30, 2024
joachimmetz added a commit to joachimmetz/plaso that referenced this issue Mar 31, 2024
@joachimmetz
Copy link
Member

@rick-slin let me know when you have a draft PR for the ps.txt log parser, this will help finalize adding _UpdateDate to the date less helper interface

@rick-slin
Copy link
Contributor Author

I should have time later this week.

@joachimmetz
Copy link
Member

@rick-slin thanks no hurry, mostly a heads up that most of the "plumbing" should be there now

@rick-slin
Copy link
Contributor Author

@joachimmetz I've created a draft for the ps.txt parser. It includes two different uses of the DateLessLogFormatHelper. See #4861

@joachimmetz
Copy link
Member

joachimmetz commented Apr 4, 2024

@rick-slin thanks, I'll try to take a look over the weekend.

@joachimmetz
Copy link
Member

joachimmetz commented Apr 6, 2024

Interesting format, so what are the cases here (STARTED TIME):

  • 23Feb22 192:14.05 (date)
  • Fri11AM 0:00.37 (date-less, relative day)
  • 9:14AM 0:00.09 (date-less, today)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Issues relating to Plaso's core - processing, file access etc. enhancement New or improved functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants