Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tstack
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
tstack
4y ago
The SSH demo was inspired by git.charm.sh
62.
▲
by
tstack
4y ago
> why there are so many colors in the example? Identifiers, like process-names/pids/IPs, are semantically highlighted by default to make it easier to visually match up values that are the same. And, it's this way because
63.
▲
by
tstack
4y ago
As mentioned in a sibling comment, https://goaccess.io is probably best for simple analytics on log files. If you want to write more complicated queries, lnav exposes log data through SQLite vtables[1]. So, you can do a SQL que
64.
▲
by
tstack
4y ago
I'm the author of lnav and had never heard of logviewplus before, thanks for mentioning it. It looks like we've independently arrived at a very similar feature set, that's pretty neat. I will now shamelessly steal some of y
65.
▲
by
tstack
4y ago
lnav does support JSON-lines and logfmt logs. For JSON-lines, it will pretty-print the log messages to make them human readable. For logfmt, I seem to remember the spec not being very clear on quoting semantics (maybe I'm wrong). Any
66.
▲
by
tstack
4y ago
The data consumed from stdin is stored in a file to support scrollback. > something to probably add to my clean up script. These capture files are deleted if they are older than a day the next time lnav is run. (I realize they should
67.
▲
by
tstack
4y ago
> One very useful feature for this I didn't see listed for lnav was to support adjusting for timestamps in different timezones, like maybe you have a desktop's log in local time that you're trying to reconcile with servers
68.
▲
by
tstack
4y ago
Yes, my wife and daughter really loved The Mystic Maze puzzle and the "secret" was a real treat.
69.
▲
by
tstack
4y ago
Sorry for the crashes :( I've been trying to improve it's internals more than adding features as of late. If you haven't already, please file bugs on github and/or submit crash logs to the mailing list. (I've ta
70.
▲
by
tstack
4y ago
lnav has some support for tailing files on remote hosts -- https://lnav.org/2021/05/03/tailing-remote-files.html It works by uploading a stub that is an "actually portable executable" to the remote
71.
▲
by
tstack
4y ago
I don't think multitail really understands logs like lnav does, it's just following the last lines in the file. For example, if you try to follow multiple files in multitail like so: $ multitail /var/log/inst
72.
▲
by
tstack
4y ago
Rendering markdown in the terminal[1] was also recently added to the Logfile Navigator ( https://lnav.org ). It was partially inspired by Glow. There are some extra features in lnav's implementation, like a breadcrumb bar s
73.
▲
by
tstack
4y ago
> Of course in a perfect world you want to ingest these logs into some better searching tool that lets you run SQL or some other standard query language over the set to prune them by date and pull out specific fields but there are times
74.
▲
by
tstack
4y ago
Oh, okay... https://lnav.org is a log file viewer for the terminal that integrates with SQLite so you can use SQL to query your log files. No benchmarks, though.
75.
▲
by
tstack
4y ago
Another option would be to create the virtual table used for the table-valued function using a schema to define the columns: CREATE VIRTUAL TABLE students_json_read USING lines_json_read(schema="students-schema.json); Then, th
76.
▲
by
tstack
4y ago
I work on a TUI logfile viewer that uses SQLite as a backend for doing analysis on the log messages ( https://lnav.org ). However, writing SQL interactively is painful since you can't really provide good auto-complete or pre
77.
▲
by
tstack
4y ago
I used to use jasmin to generate invalid code to test an old JVM. I assume this has the same relaxed attitude that will let you generate invalid code?
78.
▲
by
tstack
4y ago
The Logfile Navigator is a TUI for viewing/analyzing log files and will pretty-print anything with a keypress, see https://lnav.org/features#pretty-print-view It's not specific to JSON/XML either, it works on
79.
▲
by
tstack
4y ago
The Logfile Navigator ( https://lnav.org ) is a TUI for viewing log files that can be configured to process structured JSON files. It has quite a few features, like filtering and color coding. The documentation for writing a form
80.
▲
by
tstack
4y ago
Sorry for the crashes, have you sent the crash logs to support@lnav.org or opened an issue on https://github.com/tstack/lnav/issues ? I try to take a look at crash reports, but I’m not always able to figure out t
81.
▲
by
tstack
4y ago
The Logfile Navigator ( https://lnav.org ), a TUI for viewing log files, has support for opening logs on remote hosts via SSH in its latest version. See the following post for more information: https://lnav.org/2
82.
▲
by
tstack
4y ago
I'm asking about end-user documentation, like a manual. Not, developer documentation. Sorry if that wasn't more clear.
83.
▲
Ask HN: Tools to generate coverage of user documentation for code
6 points
by
tstack
4y ago
|
6 comments
84.
▲
by
tstack
5y ago
Can you elaborate on why you don't think it's a tailing tool? lnav monitors the files it was pointed at and will load new data as it is appended or reload the file if it has been overwritten. Also, if you are scrolled all the wa
85.
▲
by
tstack
5y ago
Yes, one of the advantage of language support is that "sOpen" will be consumed by the "close()" call and can't be reused. I don't think that's really possible in Java without an extra checker. But, it&#x
86.
▲
by
tstack
5y ago
Try out the Logfile Navigator ( http://lnav.org ) for working with logs instead of a text editor. It can provide a lot of benefits by default, like collating messages from multiple files together, syntax highlighting, decompressi
87.
▲
by
tstack
5y ago
If you're open to new tools, the latest version of the Logfile Navigator (lnav) supports remote hosts over ssh: https://lnav.org/2021/05/03/tailing-remote-files.html The main advantages of lnav over mult
88.
▲
by
tstack
5y ago
The Logfile Navigator ( https://lnav.org ) is a terminal-based tool for digging through logs. It's visualization capabilities are pretty limited at the moment (it can draw stacked bar charts for the results of SQLite queries
89.
▲
by
tstack
5y ago
Angle Grinder supports analyzing a stream of data and updating the results on-the-fly. That's not possible in lnav since it uses sqlite for analysis. Ideally, it would be nice to integrate Angle Grinder into the lnav to support both m
90.
▲
by
tstack
5y ago
The Logfile Navigator ( https://lnav.org ) supports glob patterns and does what you want by default: https://docs.lnav.org/en/latest/usage.html#viewing-files So, you would just run it like so: $ lnav
More ›