What problem does it solve? Investigating production issues requires digging through large volumes of logs, and doing this through a web UI is slow and hard to automate. This Skill lets you search, aggregate, and inspect Graylog logs directly from the terminal with structured JSON output suitable for scripting and CI pipelines. ## Core Features & Use Cases - Log Search & Filtering: Run Lucene-based queries with time ranges, field selection, stream scoping, grouping by correlation fields, and automatic pagination up to 10,000 messages. - Aggregations & Health Checks: Compute terms, date histograms, cardinality, and stats aggregations, count messages by log level, list indexed fields, and verify connectivity with ping and system info. - Multi-Instance Profiles: Manage credentials for multiple Graylog instances with named profiles, per-profile field caches, and a global --profile flag. - Use Case: When a checkout outage is reported, run graylog-cli search "level:<=3" with key fields like ExceptionType and correlationId to find the failing service, then trace the full request timeline by grouping events by checkoutCorrelationId. ## Quick Start Ask the AI to authenticate with your Graylog URL and token, then search for all error-level logs from the last hour grouped by source service.