CLI tool for log analysis, parsing, and aggregation
Top 13.6% on sourcepulse
Angle-grinder is a command-line tool for parsing, aggregating, and analyzing log data in real-time. It's designed for users who need to perform sophisticated log analysis without relying on external logging platforms, offering high performance for large datasets and live terminal updates.
How It Works
Angle-grinder processes logs through a pipeline of filters and operators, defined by a functional programming language. It supports various parsing methods (JSON, logfmt, regex, custom patterns) and offers a rich set of operators for data manipulation, aggregation (count, sum, average, percentiles), and transformation. Its live-updating terminal UI provides immediate feedback on data as it's processed.
Quick Start & Requirements
curl -L https://github.com/rcoh/angle-grinder/releases/download/v0.18.0/agrind-x86_64-unknown-linux-musl.tar.gz | tar Ozxf - | sudo tee /usr/local/bin/agrind > /dev/null && sudo chmod +x /usr/local/bin/agrind
Alternatively, compile from source using cargo install angle-grinder
(requires Rust >= 1.26).Highlighted Details
Maintenance & Community
The project is actively maintained by rcoh. Contributions are welcomed, with specific areas for improvement highlighted in the README, such as enhancing error reporting.
Licensing & Compatibility
The project is licensed under the MIT License, allowing for commercial use and integration with closed-source applications.
Limitations & Caveats
The alias feature is currently considered experimental. The count_distinct
operator is not memory-fixed and may consume significant resources with large numbers of distinct values.
3 months ago
1 day