Quick Start
Get up and running with logpare in minutes
This guide will get you up and running with logpare in minutes.
Basic CLI Usage
Compress a log file:
Use stdin:
Get detailed output:
Output as JSON:
Basic Programmatic Usage
Compressing an Array of Lines
Compressing Text
Getting Structured Data
Use JSON format for programmatic processing:
Output Formats
Summary (Default)
Compact overview with top templates and rare events:
Output:
Detailed
Full information with all diagnostic metadata:
Output:
JSON
Machine-readable format:
Output:
Advanced: Incremental Processing
For streaming or very large log files, use the Drain API directly:
What's Next?
Now that you've learned the basics:
- Tune parameters - See Parameter Tuning Guide
- Custom preprocessing - Learn about Custom Preprocessing
- API deep dive - Explore the full API Reference
- CLI options - Check out all CLI options