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

User defined timestamp format #694

Open
geekscrapy opened this issue Nov 6, 2019 · 2 comments
Open

User defined timestamp format #694

geekscrapy opened this issue Nov 6, 2019 · 2 comments
Labels
enhancement Feature Request

Comments

@geekscrapy
Copy link

Is there currently a way to reformat the time shown in the text view? Or create a virtual column with a user formatted timestamp?

Potentially to create an extra column with a user defined time format for that log line? Like when you show the time delta between log lines in the left?

It would be great if this could also be used on writing the output to files etc.

@tstack
Copy link
Owner

tstack commented Nov 8, 2019

I think specifying the timestamp format is only available for JSON logs at the moment. Plain-text logs just show things as-is.

@geekscrapy
Copy link
Author

Ok, understandable. My use case is that I have to report and do analysis with a set format YYYY-MM-DD hh:mm:ss . So it'd be great able to view the logs in this format and have the option to output them with this timestamp as an extra (and probably the 1st) column. This would help so much when viewing logs where the timestamp is in a fairly irregular offset (in the log line) or an unusual format thats unfamiliar to the user (i.e. US formatted times being analysed by a UK analyst).

@tstack tstack added the enhancement Feature Request label Dec 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature Request
Projects
None yet
Development

No branches or pull requests

2 participants