Random thoughts #1032
Replies: 1 comment
-
The modified time of the file is used as the "base" time for log messages that aren't fully specified. If the file is gzipped, the timestamp embedded in the header is used as the base time instead.
Have you looked at the FAQ? https://docs.lnav.org/en/latest/faq.html#q-how-can-i-copy-paste-without-decorations Does that not work for you? In v0.11.0, there is new support for the OSC 52 escape sequence that integrates with the terminal so copying to the clipboard should even work over ssh.
Ah, sorry. The file panel should give you some idea of how much has loaded. Can that be improved somehow?
Apologies for the crash. If you are able to replicate it, I'd be interested to know if it still happens on the latest version (v0.11.0).
I think visidata is an impressive piece of work and I'm trying to lift things that are applicable in lnav. However, I think this must be a matter of personal preference, because I remember having a hard time with it. (I just tried it again and pressing
The regex101 integration is intended to streamline creating a format file. I think the error messages lnav reports for issues in formats are pretty extensive and helpful in getting things working. I can also help out in crafting the file if you run into trouble.
The most basic thing lnav needs is a timestamp. If there is a timestamp at the front of your log message, it will usually be picked up automatically by the As for the benefits, the main one is collating log messages by time so that you can open multiple files and look at them in a single view instead of having them separated.
Are you saying your log files show up in the "TEXT" view? Can you supply a sample of your log messages? If you don't want to post them publicly, you can send them to [email protected] and we can work it out over email.
You copied the
There's a statically-linked linux binary attached to the release page: https://github.com/tstack/lnav/releases/tag/v0.11.0-beta2 Or, if you're on MacOS, you can try running
The
I'm not sure what you mean here. Are you talking about what log format to use with a given file? lnav will automatically figure out which log format is appropriate, it doesn't require any user intervention. Thanks for your interest and for taking the time to write this up! |
Beta Was this translation helpful? Give feedback.
-
Hi, just some random thoughts, feel free to respond or not respond at your leisure 😄 I'll be using lnav some more in the next months and probably contributing back some easier 'getting started' stuff, if I can ever figure out the easiest powerful ways to use this tool 😄
CHANGE: Timestamps that do not have a day or month are rewritten to a full timestamp like YYYY-MM-DD HH:MM:SS.
CHANGE: Removed the summary overlay at the bottom of the log view that displayed things like "Error rate" and the time span. It doesn't seem like anyone used it.
And some thoughts on usability
visidata
is basically the golden standard here; it actually managed amazing beginner friendliness and intuitive-ness even before it had the "File Edit View ..." toolbar up in the top, maybe because all of its binds were stolen from vim. And has lots of documentation. Contrast to my first day in lnav, I somehow managed to crash it after adding a filter and trying to get my cursor back into the text view. I think I still have the crash log of this lol. The prompts leading me into the filter page were super helpful though, without those I may have given up on lnav.Beta Was this translation helpful? Give feedback.
All reactions