Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tstack
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
tstack
2y ago
I followed these instructions and the main advantage for us is that it can send notifications to phones and google/alexa devices. I ended up switching the software to sinric.pro, though.
32.
▲
by
tstack
2y ago
> - regex101 support for quickly defining custom formats is just awesome. Versioning support is slightly broken however, probably because regex101 changed something, so there's no easy way to update the format once you've initi
33.
▲
by
tstack
2y ago
> I do wish there was support for switching formats so I could switch between different "views" over the same data, maybe it will be possible someday :) I created https://github.com/tstack/lnav/issues&
34.
▲
by
tstack
2y ago
> I can also edit them if needed. That doesn't seem .. wise. lnav has support for filtering, bookmarking, and attaching tags/comments[1] to log messages so that editing the log file isn't required. The filters, bookmarks
35.
▲
by
tstack
2y ago
Pretty much, yes, it's not for dealing with a bunch of servers. There's some basic support for tailing files on remote x86 machines ( https://lnav.org/2021/05/03/tailing-remote-files.html ). But, aga
36.
▲
by
tstack
2y ago
> That's funny, because that's been my experience with lnav! Not saying there's anything wrong with it though. I tried to use the hotkeys from less/more/vim so that it would be somewhat familiar. I think people
37.
▲
by
tstack
2y ago
LogViewPlus ( https://www.logviewplus.com ) is very similar to lnav and built for Windows.
38.
▲
by
tstack
2y ago
I'm the author of lnav .. and not a very good writer, apologies. I guess my main question would be, what are you expecting to get out of lnav? I use it primarily for merging log files together and just jumping around trying to underst
39.
▲
by
tstack
2y ago
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 prod
40.
▲
by
tstack
2y ago
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,
41.
▲
by
tstack
2y ago
Hah, I just started reading The Story of Diva and Flea[1] to my 5-year-old and "Flea" describes himself as a Flâneur. Still trying to figure out the right way to pronounce it... [1] - https://en.wikipedia.org/wiki
42.
▲
by
tstack
3y ago
> As much as I love terminal, its just so limiting when it comes to browsing and filtering through more content. What terminal-based tools are you thinking of when you say this? Just tail/grep/less?
43.
▲
by
tstack
3y ago
> Looks like PRQL doesn't have a Go library so I guess they just really wanted something in Go? There's some C bindings and the example in the README shows integration with Go: https://github.com/PRQL/prql&
44.
▲
Using lnav to solve the CyberDefenders Hammered Challenge
(lnav.org)
1 points
by
tstack
3y ago
|
0 comments
45.
▲
by
tstack
3y ago
The Logfile Navigator ( https://lnav.org ) - A logfile viewer for the terminal. Have used it just about every work day for the past decade and a half.
46.
▲
by
tstack
3y ago
A Closed and Common Orbit by Becky Chambers.
47.
▲
by
tstack
3y ago
Yes, there were some roadblocks and that made me lose some steam. What's kinda funny is that I spent a lot of time trying to make pretty errors[1] in lnav as inspired by rustc, but had a hard time replicating that in the rust ecosyste
48.
▲
by
tstack
3y ago
I also wish for a rust replacement of lnav! (I'm the author) I actually started working on one earlier this year and made some progress before getting distracted. I was using tui-rs, which then got forked to ratatui. I should check
49.
▲
by
tstack
3y ago
Yep, exactly this. I wrote a short blog post[1] announcing the playground, but didn't go into much detail. All this stuff just runs on the free-tier of fly.io since it doesn't get much traffic. [1] - https://lnav.org&
50.
▲
by
tstack
3y ago
> all so that the same binary runs on multiple operating systems, which isn’t actually very useful. I like to mention my use case when this comes up: my log file viewer ( https://lnav.org ) uploads an agent to remote hosts in o
51.
▲
by
tstack
3y ago
I’d be interested in what you found difficult to use lnav, if you have a minute.
52.
▲
by
tstack
3y ago
> I also don't see something else I might want: a way to have a different "view" for certain log messages; maybe to switch between filtering/viewing particular ones, maybe to just have line-format be conditional based
53.
▲
by
tstack
3y ago
> But if some log message uses an attribute you haven't anticipated in the format definition, there's no way to see it in the pretty-printed output Properties in the log message that are not in the "line-format" are d
54.
▲
by
tstack
3y ago
There are certainly limits on what can be displayed and done interactively due to the low resolution. Especially, when it comes to charting data. Some visualizations are available within lnav, mostly bar charts and the like. What type of
55.
▲
by
tstack
3y ago
lnav has support for JSON-lines, logfmt, as well as the Bro and W3C Extended Log File formats that are XSV and self-describing. The contents are also accessible through SQLite tables. Is there some gap here that you're thinking of?
56.
▲
by
tstack
3y ago
The Logfile Navigator ( https://lnav.org ), a logfile viewer for the terminal. Started it in 2006 and have used it most every day since to view the logs of whatever software I was working on at the time.
57.
▲
by
tstack
3y ago
I use an APE executable as an agent for communicating with remote hosts in the Logfile Navigator ( https://lnav.org ). While lnav itself is not built as an APE, the agent built into itself is. That agent is transferred to the re
58.
▲
by
tstack
3y ago
The tmux integration in iterm is also very nice for remote work if you haven’t tried it out.
59.
▲
by
tstack
3y ago
Yes. I followed a tutorial for building a doorbell that uses an ESP32 to send a notification to our phones when the button is pushed. I haven’t touched it since installation and I’m always a bit amazed it still works. An RPi would’ve bee
60.
▲
by
tstack
4y ago
> Hmmm, it doesn't say in https://lnav.org/features#automatic-log-format-detection but i see that at least json (and xml) is mentioned under the pretty-printing header. Yes, I should mention it on the features page.
More ›