Docker 🐳

Gonzo transforms Docker log analysis by providing real-time visual insights into container behavior. Instead of grep-ing through text streams, you get severity distribution charts, pattern detection, and AI-powered anomaly analysis β€” perfect for debugging multi-container applications.

Docker Container Logs

Single Container

Stream logs from a running container:

docker logs -f my-container 2>&1 | gonzo

The 2>&1 ensures both stdout and stderr are captured.

Specific Time Range

Analyze logs from a specific period:

docker logs --since 1h my-container 2>&1 | gonzo
docker logs --since 2024-01-01T10:00:00 my-container 2>&1 | gonzo

With Gonzo AI Analysis

Enable AI-powered insights:

export OPENAI_API_KEY=sk-your-key-here
docker logs -f my-container 2>&1 | gonzo --ai-model="gpt-4"

Docker Compose

All Services

Analyze logs from all services in your compose stack:

Specific Service

Analyze logs from a single service:

Multiple Services

Combine logs from multiple services:

Filter by Time

Recent logs only:

Common Patterns

Debugging Failed Container

Analyze logs from a container that exited:

Comparing Services

Run multiple Gonzo instances in separate terminals:

Last updated