Tim Stack

Results 189 comments of Tim Stack

> My use case is that I want to find all mentions of a particular id which have been generated by a particular library. Within the library name will sometimes...

Hmm... I can maybe see adding an extension to the PCRE syntax to allow for inverting the match, something like `(*NOT)`. So, you could run: ``` :filter-in mylib :filter-out (*NOT)656475647...

> I think /(*NOT)foobar would find all lines that contain anything other than foobar. So If a line has a timestamp and foobar it will be matched too? The `(*NOT)`...

If you're able to update to the top-of-tree, you can assign a pair of keys to execute SQL statements that should do what you want. The commands to execute within...

The v0.9.0 release added official support for custom keymaps, but the commands are slightly different from above: ``` :config /ui/keymap-defs/default/x2c/command ;UPDATE lnav_views SET top = (SELECT log_line from all_logs where...

> use sqlite like jget(body, ''). It looks like this is a problem with calling the capture "body", since that has a special meaning[0]. If you change the capture name...

Searching is live and happens in the background in lnav, which is different from the way other tools work that will block looking for hits. So, I don't think a...

@aspiers @melwitt I'm working on a change to trigger a jump to the first hit above the top line by pressing CTRL-J instead of \. In other words, after entering...

I've pushed the change and also added a `:prompt` command so that you can rebind the `?` key (or whatever you want) to open the search prompt in the mode...

> * Writing an shell function that removes the created file after running lnav > * Writing a systemd timer that periodically clears the capture folder > * Mounting ~/.config/lnav/stdin-capture...