People ask the question "what's Rust good for?" pretty frequently, and little terminal apps like this are precisely the reason. I've written a few of my own in the past, and it enables a kind of workflow that simply didn't exist before: I could have a fully safe, "correct", LLVM-optimized binary installed on my desktop in an afternoon.
Interesting. How does this compare to lnav? https://lnav.org/
This is awesome. I've been looking for a tool just like this but didn't want to write it myself. Thank you for sharing!
Looks interesting, as someone in linux support having to remotely analyse logs rather than having a logstash/splunk/grafana/etc UI that I can use directly.. I am in need of tools like this. I will give it a run :)
EDIT: I had written here that your tool name 'ag' conflicts with "silversearcher-ag" which is a grep replacement and people are likely to be users of both. But your CLI tool name is in fact already 'agrind' just the cargo package is 'ag'. May be worth unifying them to 'agrind'?
I used to use sumologic in an old job and found it super useful, having a command line tool along the same lines is amazing, thank you!
I wish people would come up with unique names for their 'thing' instead of polluting the namespace. ;-)
I really like this tool, but I'm not sure what it gets me more than jq (and https://github.com/tyleradams/json-toolkit to convert non-json to json).
What can angle grinder do better than jq?
OMG, I've been dreaming of this tool for years. Thank you!
Something that looks vaguely similar to lnav (and Angle Grinder) is fzf (https://github.com/junegunn/fzf). It's quite good at interactively searching for given items in a pile of text.
I don't think it does summing "out of the box", but I've found it great for exploring logs (or even very long grep searches) interactively.