Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Hey all,

I was wondering if there is a way to store a persistent list of filters without having to re-create them on every new session?

I browsed through the local config but could not see a way to define filters in advance. Ideally I just want to have a prepopulated list that can then be toggled on / off as I need them but same functionality as when I add them manually. Is there any way of achieving it at present?

Thanks.

You must be logged in to vote

Replies: 2 comments

Comment options

It was suggested in #949 to use the events mechanism to add filters e.g. when encountering a certain log format. It worked for me.

You must be logged in to vote
0 replies
Comment options

Funny that issue #949 has two common words with yours – persistent and filters – and searching issues for these two words (https://github.com/tstack/lnav/issues?q=is%3Aissue+persistent+filters) would find issue #949 as the only result :)

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.