A polyscopic anomaly explorer built with Rust and egui. LogCrab helps developers and system administrators debug by automatically highlighting unusual, novel, or interesting log lines in large log files.
- Visual Anomaly Detection: Color-coded visualization
- Live Regex Search: Real-time filter with regex support and match highlighting
- Bookmarks: Right-click to bookmark important lines
- Multi-Panel View: Multiple filters show the logs from different perspectives for better understanding
- Multi-Format Support: Supports Android logcat, DLT files and generic log formats
- No Training Required: Works immediately on any log file
Arch Linux
Download the PKGBUILD from the releases page and install:
curl -LO https://github.com/daniel-freiermuth/logcrab/releases/latest/download/PKGBUILD
makepkg -siUbuntu / Debian
Download the latest .deb package from the releases page and install:
sudo dpkg -i logcrab_*.debFrom Source
# Install rustup with your system package manager
rustup toolchain install stable
git clone https://github.com/daniel-freiermuth/logcrab.git
cd logcrab
cargo build --releaseThe binary will be at target/release/logcrab.
To add LogCrab to your application menu:
# Update the .desktop file with the correct path to the binary
sed "s|<logcrab-binary>|$(pwd)/target/release/logcrab|g" logcrab.desktop > ~/.local/share/applications/logcrab.desktop
# Install the icon
mkdir -p ~/.local/share/icons/hicolor/256x256/apps
cp logo.png ~/.local/share/icons/hicolor/256x256/apps/logcrab.png
# Register .crab file type
mkdir -p ~/.local/share/mime/packages
cp logcrab-mime.xml ~/.local/share/mime/packages/
update-mime-database ~/.local/share/mimeAfter installation, LogCrab will appear in your application launcher and can open log files and .crab files directly.
See CHANGELOG.md for release notes.
-
Rarity Scorer
- Identifies structurally unique log lines
- Uses template normalization (numbers →
<NUM>, UUIDs →<UUID>, etc.) - Tracks frequency of normalized patterns
-
Temporal Scorer
- Detects time-based anomalies
- Adaptive 30-second window
- Identifies burst patterns and long absences
-
Entropy Scorer
- Measures information content
- Detects unusual message patterns
- Identifies messages with abnormal length or complexity
-
Severity Scorer
- Boosts ERROR and FATAL log levels
- Detects sudden severity transitions
- Tracks log level patterns over time
- docs/ARCHITECTURE_MULTI_SOURCE.md
- docs/IMPLEMENTATION_PLAN.md
- docs/OPTIMIZATION_ROADMAP.md
- docs/SIDECAR_API_V1.md
- docs/sidecar_api_v1.openapi.yaml
- docs/sidecar_api_v1.frames.schema.json
https://github.com/esrlabs/chipmunk DLT analyser with one supported filter. Saved filters with color-coding. Graphing. Written in Rust and Electron. Great DLT crate.
- only single filter pane
- no anomaly detection
- only DLT
https://github.com/Gegenbauer/CatSpy Adb logcat analysis tool. One filter tool with vertical vertical split.
- Pagination
- Bookmarks not saved
- Selected line reset on filter change
- View only synced one-way
https://github.com/tstack/lnav https://github.com/javierhz/lnav-logcat-Android Command line log analyzer. Doesn't support logcat or DLT off-the-shelf.
https://github.com/Textualize/toolong
https://github.com/COVESA/dlt-viewer
https://github.com/svlad-90/DLT-Message-Analyzer
https://github.com/cdcsgit/lognote
https://github.com/rcoh/angle-grinder
https://github.com/JakeWharton/pidcat
https://github.com/cesarferreira/rustycat
https://github.com/netdata/netdata OS metric dashboard that just works™ and has anomaly detection included.
Contributions are welcome! Areas for improvement:
- Additional log format support
- New anomaly detection algorithms
- Performance optimizations
- UI enhancements (keyboard shortcuts, themes, etc.)
Due to this not yet being implemented. rust-windowing/winit#1881
When using the Wayland compositor, you might find the program exited after leaving the computer alone for a while. Particularly when there was a change in the display setup like screenlocking or suspending.
[2025-11-28T11:48:43.736Z INFO tracing::span] read_socket;
wl_registry@2: error 0: invalid global wl_output (151)
wl_registry@2: error 0: invalid global wl_output (151)
Protocol error 0 on object wl_registry@2:
Error: WinitEventLoop(ExitFailure(1))
The problem seems to be a Wayland protocol error by some party upon which the GUI library exits.
Built with ❤️ for developers who deserve decent log analysis tools