一键导入
sls2dql
Convert, validate, and explain Alibaba Cloud SLS queries as GuanceDB DQL.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Convert, validate, and explain Alibaba Cloud SLS queries as GuanceDB DQL.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | sls2dql |
| author | samuel |
| description | Convert, validate, and explain Alibaba Cloud SLS queries as GuanceDB DQL. |
Use this skill to convert Alibaba Cloud SLS queries into GuanceDB DQL and to explain conversion status or diagnostics.
./sls2dql/bin/sls2dql./sls2dql/scripts/run_sls2dql.sh./sls2dql/references/USER_QUICKSTART_zh.md./sls2dql/references/USER_GUIDE_zh.md--namespace.FROM, also pass --source.--mode strict by default.--mode allow-approximate only when the user accepts approximate semantics.exact, approximate, or unsupported.report or batch instead of manually stitching results../sls2dql/bin/sls2dql version
./sls2dql/bin/sls2dql convert --namespace L --query "SELECT count(*) AS pv FROM access_log"
./sls2dql/bin/sls2dql convert --namespace L --source access_log --query "status:500 AND service:api"
./sls2dql/bin/sls2dql validate --namespace L --query "status:500 | SELECT count(*) AS pv FROM access_log"
./sls2dql/bin/sls2dql explain --namespace L --query "* | SELECT count(*) AS pv FROM access_log GROUP BY host"
State the command or mode used, whether namespace, source, and index were provided, and the final conversion status. Return final DQL only when the converter produced executable DQL.
Generate, repair, or review Guance Dashboard JSON from real metrics CSV files, tag metadata, and resource-catalog or custom-object CSV/JSON data.
Generate Guance monitor JSON from CSV metric files for any component.
Convert Grafana dashboard JSON into Guance dashboard JSON with a fully self-contained skill package. Use when the user wants to analyze Grafana dashboards before conversion, run conversion, audit conversion gaps, improve units or PromQL compatibility with LLM-assisted review, repair panel or variable mappings, preserve settings, groups, and vars as much as possible, validate generated Guance dashboard JSON against the bundled schemas, or debug why a Grafana dashboard does not convert cleanly.
Use the owl CLI for Guance queries, diagnostics, root-cause analysis, and structured Markdown reports.
Convert Prometheus alerting rules into Guance monitor JSON and validate all generated DQL.
Generate, fix, explain, and review DQL; final executable DQL must pass dqlcheck item by item.