For the complete documentation index, see llms.txt. This page is also available as Markdown.

Common Issues

This guide covers the most frequently encountered issues when using Gonzo and their solutions. For AI-specific or format-specific issues, see the dedicated troubleshooting pages.

Installation Problems

Command Not Found After Installation

Symptom: Running gonzo returns "command not found" error.

Causes & Solutions:

  1. Go installation - PATH not configured

    # Check if GOPATH/bin is in PATH
    echo $PATH | grep -q "$(go env GOPATH)/bin" && echo "Found" || echo "Missing"
    
    # Fix: Add to your shell profile
    echo 'export PATH=$PATH:$(go env GOPATH)/bin' >> ~/.bashrc
    source ~/.bashrc
    
    # Or for zsh
    echo 'export PATH=$PATH:$(go env GOPATH)/bin' >> ~/.zshrc
    source ~/.zshrc
  2. Binary installation - not in PATH

    # Move to standard location
    sudo mv gonzo /usr/local/bin/
    
    # Or add current directory to PATH
    export PATH=$PATH:$(pwd)
  3. Verify installation

    which gonzo
    gonzo --version

Permission Denied When Running Binary

Symptom: permission denied when trying to execute gonzo.

Solution:

Build Failures

Symptom: go install or make build fails.

Common causes:

  1. Go version too old

  2. Missing dependencies

  3. Network issues

Display Issues

Garbled or Broken Interface

Symptom: Strange characters, broken borders, or corrupted display.

Solutions:

  1. Check terminal compatibility

    • ✅ Works well: iTerm2, Alacritty, Windows Terminal, GNOME Terminal, Kitty

    • ⚠️ May have issues: Very old terminals, basic xterm

  2. Enable UTF-8 encoding

  3. Check TERM variable

  4. Use appropriate font

    • Install a font with good Unicode support

    • Recommended: JetBrains Mono, Fira Code, Cascadia Code, Hack

No Colors Displayed

Symptom: All text appears in same color, no syntax highlighting.

Solutions:

  1. Check color support

  2. Force color mode

  3. Check NO_COLOR variable

  4. Try different skin

Terminal Too Small

Symptom: Interface is cramped or panels overlap.

Solution:

Gonzo requires minimum terminal size of 80x24 characters.

Recommended: 120x40 or larger for best experience.

Mouse Not Working

Symptom: Clicking doesn't select items or switch panels.

Solutions:

  1. Verify terminal supports mouse

    • Most modern terminals do

    • Check terminal settings/preferences

  2. Use keyboard navigation instead

  3. Known limitations:

    • SSH sessions may not pass mouse events

    • Tmux/Screen require special configuration

    • Some older terminals lack mouse support

Log Processing Issues

No Logs Appearing

Symptom: Gonzo starts but dashboard remains empty.

Diagnosis & Solutions:

  1. Verify input source exists

  2. Check file permissions

  3. Test with simple input

  4. Check for active filters

    • Press ESC to clear any filters

    • Look for filter indicator in status bar

  5. Verify stdin is producing output

Logs Appear Truncated

Symptom: Long log lines are cut off or abbreviated.

Solutions:

  1. Use horizontal scrolling

  2. Open detail view

  3. Increase terminal width

    • Make terminal wider

    • Use full screen mode

Mixed Format Logs Not Parsing

Symptom: Some logs parse correctly, others show as plain text.

Explanation: Gonzo detects format per line. Mixed format files will show inconsistent parsing.

Solutions:

  1. Pre-filter by format

  2. Use custom format

  3. Accept mixed display

    • Structured logs: parsed as JSON/logfmt

    • Unstructured logs: shown as plain text

    • Both viewable, just different presentation

Logs Not Following in Real-Time

Symptom: Using --follow but new logs don't appear.

Diagnosis:

  1. Verify file is being written

  2. Check auto-scroll status

    • Press End to jump to latest and resume auto-scroll

    • Look for FOLLOWING indicator in status bar

  3. Verify Gonzo isn't paused

    • Press Space to unpause if showing ⏸ PAUSED

  4. Test follow with known-working source

Log Rotation Issues

Symptom: Logs stop appearing after log rotation.

Explanation: When files are rotated (moved/renamed), Gonzo may lose the file handle.

Solutions:

  1. Restart Gonzo after rotation

  2. Use stdin with tail

  3. For production: Use OTLP or log shipping

Performance Issues

High CPU Usage

Symptom: Gonzo consumes excessive CPU.

Causes & Solutions:

  1. Very high log volume

  2. Large buffer processing

  3. Complex regex filters

    • Simplify regex patterns

    • Use simpler string matches when possible

  4. AI analysis running

    • AI queries can be CPU intensive

    • Wait for analysis to complete

    • Use lighter models (gpt-3.5-turbo vs gpt-4)

High Memory Usage

Symptom: Gonzo consumes too much RAM.

Solutions:

  1. Reduce log buffer

  2. Reduce frequency tracking

  3. Process logs in chunks

  4. Use config file for persistent settings

Slow Performance with Large Files

Symptom: Gonzo is sluggish when loading large log files.

Solutions:

  1. Pre-filter before Gonzo

  2. Use streaming instead of file

  3. Increase update interval

  4. Split large files

Dashboard Not Updating

Symptom: Interface appears frozen, no updates.

Diagnosis:

  1. Check if paused

    • Look for ⏸ PAUSED in status bar

    • Press Space to unpause

  2. Verify input is flowing

  3. Check update interval

  4. Try reset

  5. Restart Gonzo

    • Sometimes a clean restart resolves issues

    • q to quit, then restart

File Input Issues

Glob Pattern Not Working

Symptom: gonzo -f "/var/log/*.log" doesn't find expected files.

Solutions:

  1. Always quote glob patterns

  2. Verify files exist

  3. Check permissions

  4. Use absolute paths

Multiple File Sources Not Merging

Symptom: Only seeing logs from one file when multiple specified.

Solution:

Logs will be merged in the order received (by timestamp if available).

Cannot Read File - Permission Denied

Symptom: Error message about insufficient permissions.

Solutions:

  1. Check file permissions

  2. Add read permission

  3. Run with appropriate user

  4. Copy to accessible location

Configuration Issues

Config File Not Loading

Symptom: Settings in config file are ignored.

Diagnosis:

  1. Check config location

  2. Verify YAML syntax

  3. Common YAML mistakes

  4. Specify config explicitly

Environment Variables Not Working

Symptom: Environment variables like GONZO_FILES are ignored.

Solutions:

  1. Verify export

  2. Add to shell profile

  3. Command line flags override env vars

Getting Additional Help

Enable Verbose Logging

For detailed troubleshooting:

Gather System Information

When reporting issues, collect:

Test with Minimal Example

Create a minimal reproduction:

  • AI-Specific Issues - Troubleshooting AI integration

  • Log Format Issues - Problems with log parsing

  • GitHub Issues - Report bugs or request features

Can't find your issue? Search existing GitHub issues or open a new one.

Last updated