Learn how to integrate Gonzo with popular tools, platforms, and workflows. From container orchestration to cloud log services, these guides show you how to use Gonzo in real-world production environments.
Why Integration Matters
Gonzo's power multiplies when integrated into your existing toolchain:
🐳 Container Ecosystems - Seamless log analysis from Docker, Kubernetes, and container platforms
☁️ Cloud Services - Direct integration with AWS CloudWatch, Azure Monitor, and GCP Logging
📊 Log Storage Systems - High-performance analysis of VictoriaLogs, Elasticsearch, and time-series databases
🔧 Development Tools - Integration with CI/CD, monitoring systems, and alerting platforms
🖥️ System Administration - Enhanced workflows for traditional system log analysis
Real-World Focus: These guides are based on actual production deployments and common use cases from the Gonzo community.
Integration Overview
Gonzo integrates with your infrastructure in three main ways:
Integration Type
Method
Best For
Examples
Direct Piping
Stdin processing
Real-time streaming
Docker logs, kubectl, stern
File Analysis
File reading
Archived logs, batch processing
CloudWatch exports, log files
OTLP Receiver
Network endpoint
OpenTelemetry integration
Instrumented applications
Featured Integrations
Container Orchestration
Kubernetes Integration
Analyze logs from Kubernetes clusters with powerful tooling integration:
kubectl logs - Direct pod log analysis
Stern integration - Multi-pod log streaming with Gonzo
Container insights - Understanding deployment and pod logs
Time to complete: 20-25 minutes
Prerequisites: VictoriaLogs installation or access
Container Platforms
Docker Integration
Seamless integration with Docker container logs:
Docker logs command - Container log analysis
Docker Compose - Multi-container log aggregation
Container lifecycle - Monitoring container events
Development workflows - Local container debugging
Time to complete: 15-20 minutes
Prerequisites: Docker installed
System Administration
System Log Analysis
Enhanced workflows for traditional system administration:
Syslog integration - System log monitoring
Multiple log sources - Unified system analysis
Security monitoring - Auth log analysis
Performance debugging - System health investigation
Time to complete: 15-20 minutes
Prerequisites: Linux system access
Development Workflows
Development Integration
Integrate Gonzo into development workflows:
IDE integration - Log analysis during development
Local debugging - Application log investigation
Test result analysis - CI/CD test log processing
Hot reload monitoring - Watch mode integration
Time to complete: 10-15 minutes
Prerequisites: Development environment
Integration Patterns
Streaming Pattern (Recommended)
Real-time log analysis through piping:
Benefits:
✅ Real-time analysis as logs are generated
✅ No intermediate storage required
✅ Works with any tool that outputs to stdout
✅ Minimal resource overhead
File Analysis Pattern
Batch processing of log files:
Benefits:
✅ Works with archived logs
✅ Repeatable analysis
✅ Can combine multiple sources
✅ Good for historical investigation
OTLP Integration Pattern
OpenTelemetry Protocol receiver:
Benefits:
✅ Native OpenTelemetry integration
✅ Structured log data preserved
✅ Multiple applications simultaneously
✅ Standard protocol
Quick Start by Use Case
"I use Kubernetes"
→ Full Kubernetes Guide
"I use AWS"
→ Full CloudWatch Guide
"I use Docker"
→ Full Docker Guide
"I have traditional servers"
→ Full System Admin Guide
Integration Best Practices
🎯 Choose the Right Integration Method
Real-time monitoring → Use streaming (piping)
Historical analysis → Use file analysis
OpenTelemetry apps → Use OTLP receiver
Mixed sources → Combine multiple methods
⚡ Performance Optimization
🔐 Security Considerations
📝 Documentation and Sharing
Common Integration Patterns
Multi-Source Aggregation
Filtered Streaming
Scheduled Analysis
Troubleshooting Integrations
Connection Issues
Performance Issues
Format Issues
What's Next?
Choose the integration guide that matches your infrastructure:
Kubernetes Integration - K8s clusters with kubectl and stern
AWS CloudWatch - AWS cloud log services
VictoriaLogs - High-performance log storage
Docker Containers - Container log analysis
System Administration - Traditional system logs
Development Workflows - IDE and development integration
Or explore advanced topics:
Configuration - Optimize for your integration
Advanced Features - Powerful analysis techniques
Troubleshooting - Integration-specific issues
Integrate Gonzo into your existing workflows for powerful log analysis anywhere! 🚀 From cloud platforms to container orchestration, Gonzo adapts to your infrastructure.
# Use appropriate authentication
export AWS_PROFILE=production
aws logs tail /aws/lambda/function | gonzo
# Handle sensitive data
# Use local AI for sensitive logs
export OPENAI_API_BASE="http://localhost:11434"
kubectl logs sensitive-app | gonzo --ai-model="llama3"
# Respect access controls
# Use proper IAM roles, RBAC, etc.
# Document your integration commands
cat > analyze-prod-logs.sh << 'EOF'
#!/bin/bash
# Production log analysis with Gonzo
# Usage: ./analyze-prod-logs.sh
kubectl logs -f -l app=backend,env=prod | \
gonzo --config prod.yml --ai-model="gpt-4"
EOF
chmod +x analyze-prod-logs.sh
# Share with team
git add analyze-prod-logs.sh
git commit -m "Add production log analysis script"