semi_index
lnav
semi_index | lnav | |
---|---|---|
1 | 85 | |
57 | 7,844 | |
- | - | |
10.0 | 9.4 | |
almost 12 years ago | 4 days ago | |
C++ | C++ | |
GNU General Public License v3.0 or later | BSD 2-clause "Simplified" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
semi_index
lnav
-
SQLite: 35% Faster Than the Filesystem
There’s a tool called lnav that will parse logfiles into a temporary SQLite database and allows to analyse them using SQL features:
https://lnav.org/
-
Lnav Logfile Navigator
It creates a patch file since the original file might've been modified.
> - There are lots of different filtering capabilities, but there is no unified treatment of them. For example, `:hide-lines-before` and `:filter-out` are at their core the same type of operation: filtering. I should be able to pull up a list of all filters that are currently active and easily add new ones and toggle or delete existing ones.
Adding the time filters to the "Filters" panel sounds like a reasonable request. I've added https://github.com/tstack/lnav/issues/1275 to track.
> - I would expect to be able to create a new view of the data using SQL `SELECT`. A select statement is fundamentally about filtering out some rows (log lines), which feels like a filter, and selecting some particular columns (log fields) and hiding others. The latter point seems like it could be something that should be handled when https://github.com/tstack/lnav/issues/1274 is resolved.
There is the `:filter-expr` command (https://docs.lnav.org/en/v0.12.2/commands.html#filter-expr-e...), have you tried that?
-
ht: Headless Terminal
As others have kinda alluded to, it could be useful for testing TUI applications. I develop a logfile viewer for the terminal (https://lnav.org) and have a similar application[1] for testing, but it's a bit flaky. It produces/checks snapshots like [2]. I think the problems I run into are more around different versions of ncurses producing slightly different outputs.
[1] - https://github.com/tstack/lnav/blob/master/test/scripty.cc
-
Ask HN: Interesting TUIs (text user interfaces), maybe forgotten ones?
The Logfile Navigator (https://lnav.org) is a log file viewer/merger/tailer for the terminal. It has some advanced UX features, like showing previews of operations and displaying context sensitive help. For example, the preview for filtering out logs by regex is to highlight the lines that will be hidden in red. This can make crafting the right regex a bit easier since the preview updates as you type. lnav also has some simple bar charting abilities, so you can visualize the results of SQL queries made against the log messages.
- Lnav: A log file viewer for the terminal
-
Angle-grinder: Slice and dice logs on the command line
See https://lnav.org for a powerful mini-ETL CLI power tool; it embeds SQLite, supports ~every format, has great UX and easily handles a few million rows at a time.
- FLaNK Stack 26 February 2024
- LNAV – The Logfile Navigator
-
Toolong: Terminal application to view, tail, merge, and search log files
The code base seems like a good reference as a small Python project.
My fav option in this class of apps: https://lnav.org/ It lets you use journalctl with pipes as requested here: https://github.com/Textualize/toolong/issues/4
What are some alternatives?
jq-zsh-plugin - jq zsh plugin
lightproxy - 💎 Cross platform Web debugging proxy
json-toolkit - "the best opensource converter I've found across the Internet" -- dene14
dive - A tool for exploring each layer in a docker image
json-buffet
glow - Render markdown on the CLI, with pizzazz! 💅🏻
reddit_mining
octosql - OctoSQL is a query tool that allows you to join, analyse and transform data from multiple databases and file formats using SQL.
json-streamer - A fast streaming JSON parser for Python that generates SAX-like events using yajl
conio-for-linux - Conio.h for linux
xsv - A fast CSV command line toolkit written in Rust.
GoAccess - GoAccess is a real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.