# Gonzo Configuration File
# Place this file at ~/.config/gonzo/config.yml for automatic loading

# File input configuration
files:
  - "/var/log/app.log"
  - "/var/log/error.log"
  - "/var/log/*.log" # Glob patterns supported
follow: true # Enable follow mode (like tail -f)

# Dashboard update frequency (Go duration format)
# Examples: 1s, 500ms, 2s, 1m
update-interval: 1s

# Maximum number of log entries to keep in buffer
# Higher values use more memory but show more history
log-buffer: 1000

# Maximum entries for frequency tracking
# Higher values track more unique words/phrases but use more memory
memory-size: 10000

# UI customization
skin: dracula # Choose from: default, dracula, nord, monokai, github-light, etc.

# Additional stop words to filter from analysis
# These are added to the built-in common English stop words
stop-words:
  - "log"
  - "message"
  - "info"
  - "error"
  - "warning"

# AI configuration
ai-model: "gpt-4"

# Enable test mode for non-TTY environments
# Useful for CI/CD pipelines or automated testing
test-mode: false
# Example: Increase buffer sizes for high-volume logging
# update-interval: 2s
# log-buffer: 5000
# memory-size: 50000

# Example: Minimal resource usage
# update-interval: 5s
# log-buffer: 500
# memory-size: 5000
