Skip to content

Filter logs by query_id/logger_name/level (sacrificing memory usage for logs)#195

Merged
azat merged 1 commit intomainfrom
logs-fingers
Nov 29, 2025
Merged

Filter logs by query_id/logger_name/level (sacrificing memory usage for logs)#195
azat merged 1 commit intomainfrom
logs-fingers

Conversation

@azat
Copy link
Copy Markdown
Owner

@azat azat commented Nov 29, 2025

The idea comes from plugin for tmux - tmux-fingeres 1.

Now it is possible to filter logs by query_id/logger_name/level.

First press Ctrl-F, it will display unique identifiers for those columns, then press F, and enter the chosen identifier, and it will apply filtering. Nice!

Though note, this will increase memory usage ~2x, since now we have to store original LogEntry, but, I like this feature too much, let's try!

Fixes: #191

@azat azat force-pushed the logs-fingers branch 3 times, most recently from 630e105 to 9b5a334 Compare November 29, 2025 21:31
@azat azat changed the title Filter logs by query_id/logger_name/level Filter logs by query_id/logger_name/level (sacrificing memory usage for logs) Nov 29, 2025
…or logs)

The idea comes from plugin for tmux - tmux-fingeres [1].

  [1]: https://github.com/Morantron/tmux-fingers

Now it is possible to filter logs by query_id/logger_name/level.

First press Ctrl-F, it will display unique identifiers for those
columns, then press F, and enter the chosen identifier, and it will
apply filtering. Nice!

Though note, this will increase memory usage ~2x, since now we have to
store original LogEntry, but, I like this feature too much, let's try!

Fixes: #191
@azat azat merged commit 15920df into main Nov 29, 2025
8 checks passed
@azat azat deleted the logs-fingers branch November 29, 2025 21:37
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

Successfully merging this pull request may close these issues.

Add ability to navigate from logs to tables/queries/...

1 participant