Cx Search Dashboard

coralogix/cx-cli/skills/cx-search-dashboard

作者 coralogixc0713729787b无许可证121 个星标收录于 2026年10月8日更新于 2026年10月8日仓库昨天更新

This skill should be used when the user asks to "find a dashboard", "search dashboards", "does a dashboard exist for X", "find widgets that query Y", "which dashboards use this field", "find a dashboard about errors", "look up dashboards by description", "search for existing monitoring dashboards", "find widgets that reference a field", or wants to discover existing Coralogix dashboards or widgets using natural-language or field-based search.

AI 生成的概览

使用 cx dashboards CLI 按描述或字段路径搜索现有的 Coralogix 仪表盘和小组件。

功能
该技能指导智能体使用 cx dashboards CLI 发现现有的 Coralogix 仪表盘和小组件。涵盖自然语言仪表盘搜索、按描述或字段路径搜索小组件查询、目录列表,以及获取仪表盘的完整 JSON 定义。它还说明如何查看找到的仪表盘,并根据导出的 JSON 创建副本。
适用场景
当有人询问某个服务或主题是否已有仪表盘、想查找查询特定字段的小组件,或想在新建仪表盘前浏览现有监控仪表盘时使用。
运行要求
需要 Coralogix cx CLI,并能访问 dashboards 相关命令,同时具备对 Coralogix 账户的已认证访问权限。该技能不附带脚本,仅为说明文档。

Dashboard Search Skill

Use this skill to discover existing Coralogix dashboards and widgets using semantic or field-based search via the cx dashboards CLI commands. Before creating a new dashboard, always search first to avoid duplication.

CLI Commands

CommandPurposeKey flags
cx dashboards search "<description>"Find dashboards by natural-language description--limit
cx dashboards query-search --description "<text>"Find widgets whose queries match a description--limit
cx dashboards query-search --field "<field-path>"Find all widgets that reference a specific field--limit
cx dashboards catalog -o jsonList all dashboards-
cx dashboards get <id> -o jsonGet full dashboard definition-

Output format: append -o json or -o toon for machine-readable output.

When to Use Each Command

GoalCommand
Check if a dashboard for a service or topic already existscx dashboards search
Find widgets whose queries cover a topic you care aboutcx dashboards query-search --description
Find widgets whose queries reference a specific field pathcx dashboards query-search --field
Browse all dashboardscx dashboards catalog

Examples

Find a dashboard for a service

bash
cx dashboards search "payment service error rate"cx dashboards search "kubernetes node cpu"

Find widgets whose queries cover a topic

bash
cx dashboards query-search --description "http 5xx error rate"cx dashboards query-search --description "p99 latency over time"

Find all widgets that reference a field

bash
cx dashboards query-search --field '$d.http.status_code'cx dashboards query-search --field '$d.kubernetes.pod.name'

This reveals query patterns already in use — useful for reusing existing approaches when adding new widgets.

Inspect and clone a found dashboard

bash
# Get full JSON of a dashboard you foundcx dashboards get <dashboard-id> -o json > dashboard.json# Modify it, then create a copycx dashboards create --from-file dashboard.json

Key Principles

  • Search before creating — always run cx dashboards search before building a new dashboard to avoid duplicates
  • Use field search for discovery — cx dashboards query-search --field shows how a field is already being queried, which is the fastest way to find reusable PromQL or DataPrime patterns
  • Description search is fuzzy — the results are ranked by similarity, not exact match; try several phrasings if the first search returns nothing useful
  • Use cx dashboards get to inspect — once you find a relevant dashboard or widget, pull its full JSON to study the query structure

Related Skills

  • cx-dashboards — build and deploy a new Coralogix dashboard from scratch
  • cx-telemetry-querying — discover what telemetry fields and metrics exist before searching dashboards

来源与署名

来源:coralogix/cx-cli位于skills/cx-search-dashboard提交c071372

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架