← ClaudeAtlas

logsqllisted

VictoriaLogs LogsQL query language: filters (word, phrase, prefix, regexp, range, IPv4 range, exact, stream, time), pipe operators (stats, sort, fields, format, extract, unpack_json, unpack_logfmt, math, limit, top, uniq), stats functions, log stream filtering with Prometheus-style label selectors, field extraction, and performance patterns. Invoke whenever task involves any interaction with LogsQL — writing, debugging, optimizing, or reviewing VictoriaLogs queries.
xobotyi/cc-foundry · ★ 23 · Code & Development · score 81
Install: claude install-skill xobotyi/cc-foundry
# LogsQL VictoriaLogs query language. Three stages: **filters** select logs, **pipes** transform, **stats** aggregate. Master the shape; rest is detail. ## References - **Filters** — [`${CLAUDE_SKILL_DIR}/references/filters.md`] All filter types (word, phrase, prefix, substring, regexp, range, IPv4/IPv6/string range, length range, exact, multi-exact, contains_all/any, subquery, case-insensitive, sequence, value_type, field comparison); `_time`, `_stream`, `_stream_id`; AND/OR/NOT precedence. - **Pipes** — [`${CLAUDE_SKILL_DIR}/references/pipes.md`] All pipe operators: field manipulation, sorting/limiting, transformation, structured parsing, exploration, stream context, joining. - **Stats** — [`${CLAUDE_SKILL_DIR}/references/stats.md`] Stats pipe shape, grouping (fields, time buckets, timezone-aware, field buckets, IPv4 buckets, additional filters); all stats functions; `running_stats`/`total_stats`; math pipe. - **Patterns** — [`${CLAUDE_SKILL_DIR}/references/patterns.md`] Recipes (top-N, error counting, latency percentiles, field extraction, rate over time), performance tips, troubleshooting workflows. Read the relevant reference before proceeding. ## The Three-Stage Shape ```text <filters> | <pipe1> | <pipe2> | ... | <pipeN> ``` - **Filters select logs.** At least one required. Run first; downstream sees only matched logs. - **Pipes transform.** Each reads previous-stage output, emits new rows. Reshape (`fields`, `rename`), parse (`unpack_json`, `extrac