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

Log file time display formats (delta time) #74

Open
cxong opened this issue Feb 5, 2019 · 0 comments
Open

Log file time display formats (delta time) #74

cxong opened this issue Feb 5, 2019 · 0 comments

Comments

@cxong
Copy link

cxong commented Feb 5, 2019

It would be very useful to be able to view log files containing timestamps, and reformat them in various ways. E.g.

  • Time since last line (delta time)
  • Time since a time reference

This is similar to what wireshark can do: https://www.wireshark.org/docs/wsug_html_chunked/ChWorkTimeFormatsSection.html

This may require several features to support:

  • Regex match, without filtering (similar to New filter: highlight only #70)
  • Parse regex match as a timestamp, given a strftime format string
  • Reformat the timestamp:
    • given a strtime format string
    • as seconds from a fixed reference point
      • Options for reference point: epoch, start of file, start of page, user-specified timestamp
    • as seconds from last line

Would this be a good feature to have? If so, where could we start?

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

1 participant