Gonzo: A Go-based TUI for log analysis (OpenTelemetry/OTLP support)
16 days ago
- #opentelemetry
- #terminal-ui
- #log-analysis
- Gonzo is a real-time log analysis terminal UI inspired by k9s, featuring AI-powered insights and advanced filtering.
- Supports live streaming from stdin, files, or network, with first-class OpenTelemetry (OTLP) format support.
- Automatically detects log formats (JSON, logfmt, plain text) and tracks severity levels with color-coded charts.
- Features a k9s-inspired 2x2 grid layout with real-time charts for word frequency, attributes, and severity distribution.
- Includes keyboard and mouse navigation with Vim-style shortcuts, click-to-navigate, and scroll wheel support.
- Smart log viewer with auto-scroll, global pause control, and modal details for deep diving into log entries.
- AI analysis capabilities with configurable models (GPT-4, GPT-3.5, local models via LM Studio or Ollama).
- Advanced filtering options include regex support, attribute search, severity filtering, and interactive selection.
- Pattern detection and anomaly analysis with AI-powered root cause suggestions and debugging assistance.
- Installation options include Go install, Homebrew, direct download, or building from source.
- Usage examples cover reading from files, stdin, Docker, Kubernetes, and system logs with AI analysis.
- OTLP receiver functionality allows receiving logs via gRPC or HTTP with custom port configuration.
- Comprehensive keyboard shortcuts for navigation, filtering, AI analysis, and dashboard control.
- Configurable via command-line flags, environment variables, or a YAML config file for persistent settings.
- Supports multiple AI providers (OpenAI, LM Studio, Ollama) with model switching at runtime.
- Built with Go, Bubble Tea for TUI, OpenTelemetry for OTLP, and designed for clean architecture separation.
- Open-source under MIT license, welcoming contributions with detailed contributing guidelines.