[Pkg-rust-maintainers] Bug#945607: RFP: angle-grinder -- Slice and dice logs on the command line

Antoine Beaupre anarcat at debian.org
Wed Nov 27 21:17:33 GMT 2019


Package: wnpp
Severity: wishlist

* Package name    : angle-grinder
  Version         : 0.12.0
  Upstream Author : Russel Cohen
* URL             : https://github.com/rcoh/angle-grinder/
* License         : MIT
  Programming Lang: Rust
  Description     : Slice and dice logs on the command line

Angle-grinder allows you to parse, aggregate, sum, average, min/max,
percentile, and sort your data. You can see it, live-updating, in your
terminal. Angle grinder is designed for when, for whatever reason, you
don't have your data in
graphite/honeycomb/kibana/sumologic/splunk/etc. but still want to be
able to do sophisticated analytics.

Angle grinder can process well above 1M rows per second (simple
pipelines as high as 5M), so it's usable for fairly meaty
aggregation. The results will live update in your terminal as data is
processed. Angle grinder is a bare bones functional programming
language coupled with a pretty terminal UI.

Angle-grinder can parse logfmt, json and arbitrary messages, through
regular expressions.

----

In Debian, there are a few similar tools, apart from the traditional
"grep, sed, cut, awk, perl" pipelines... jq is an obvious candidate,
but it doesn't have angle-grinder's easier language and similarity
with splunk queries. angle-grinder is also similar to visidata, but
the latter is more aimed at spreadsheets than logs. Finally, I found
out about angle-grinder while reading the lnav documentation, also
present in Debian, which similarly parses log files but relies on
sqlite for querying.

I don't have time to package this and hope some rust(y) person would
have time to handle it. :)



More information about the Pkg-rust-maintainers mailing list