hckrnws
Show HN: Gonzo – A Go-based TUI for log analysis (OpenTelemetry/OTLP support)
by J0nR
We built Gonzo to make log analysis faster and friendlier in the terminal. Think of it like k9s for logs — a TUI that can ingest JSON, text, or OpenTelemetry (OTLP) logs, highlight and boil up patterns, and even run AI models locally or via API to summarize logs. We’re still iterating, so ideas and contributions are welcome!
good job, i really like it! it would be awesome to have the ability to integrate it in k9s
that would be cool! Love that idea
i've found out that is possible! with k9s plugins. you need to create a yaml file with the gonzo command you want to launch
the file is `$XDG_CONFIG_HOME/k9s/plugins.yaml`
and here's an example:
plugins:
gonzo-ai:
shortCut: g
description: "Gonzo: AI log analysis"
scopes:
- po
command: sh
background: false
args:
- -c
- "kubectl logs -f $NAME -n $NAMESPACE --context $CONTEXT | gonzo --ai-model=gpt-4"
Nice work! That's awesome
What lib did you use for the TUI part?
Looking at the source they're using bubbletea.
Why call it Gonzo? This is a well-known word in other realms.
—
Because.. go, and muppets. It's fun. Like gophers are.
I guess there are a few people that first think of porn, but I don't.
Or https://en.m.wikipedia.org/wiki/Gonzo_journalism
Or https://en.wikipedia.org/wiki/Gonzo_(company)
Or https://github.com/omeid/gonzo
What's wrong with any of them?
Indeed, I was very confused and thought this had to do with Sesame Street.
Comment was deleted :(
[dead]
so would we be gonzo for using it?
You'd be gonzo NOT to
Full Gonzo!!
Crafted by Rajat
Source Code