# LogWisp Minimal Configuration Example # Save as: ~/.config/logwisp.toml # Monitor application logs [[streams]] name = "app" [streams.monitor] check_interval_ms = 100 targets = [ { path = "/var/log/myapp", pattern = "*.log", is_file = false } ] # Optional: Filter for errors and warnings only # [[streams.filters]] # type = "include" # patterns = ["ERROR", "WARN", "CRITICAL"] [streams.httpserver] enabled = true port = 8080 stream_path = "/stream" status_path = "/status" # Optional: Enable rate limiting # [streams.httpserver.rate_limit] # enabled = true # requests_per_second = 10.0 # burst_size = 20 # limit_by = "ip"