coralogix/cx-cli

cx-search-dashboard

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", "s…

查看源码

使用方法

  1. 复制安装命令,在自己的智能体环境安装前先检查源码包。
  2. 从原始文档核对所需工具、凭据和支持的宿主。
  3. 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/coralogix/cx-cli --skill cx-search-dashboard

开始前需了解

  • 安装不包含模型订阅、API 额度或访问文件的权限。
  • 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

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 found
cx dashboards get <dashboard-id> -o json > dashboard.json
# Modify it, then create a copy
cx 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

按任务相关推荐

来自同一仓库

更多 Skills

全部 Skills
coralogix
社区

coralogix-docs

Search and read official Coralogix platform documentation using cx docs search and cx docs fetch. Use when the user asks how Coralogix features work, how to configure or use the UI, set up integrations (OpenTelemetry, agents, collectors, webhooks), manage API keys, explore spans/traces/logs in the product, configure alerts/SLOs/dashboards, or needs authoritative product docs — not live tenant telemetry.

1小时安装量
2
GitHub Stars
243
最近更新
11月17日
coralogix
社区

cx-alerts

This skill should be used when the user asks to "manage alerts", "create alert", "list alerts", "delete alert", "check alert status", "enable alert", "disable alert", "investigate firing alerts", "check which alerts are active", "find alerting rules", "set up an alert", "configure alerting", "mute an alert", "silence an alert", "see alert definitions", "check alert priority", or wants to manage Coralogix alert definitions using the cx CLI.

1小时安装量
2
GitHub Stars
243
最近更新
11月17日
coralogix
社区

cx-cli

This skill should be used whenever the user runs any cx command, uses the cx CLI, Coralogix CLI, or mentions cx in the context of Coralogix observability. This skill provides cross-cutting concerns like update notifications that apply to all cx commands.

1小时安装量
2
GitHub Stars
243
最近更新
11月17日
coralogix
社区

cx-dashboards

Build and deploy a Coralogix dashboard for a given service from its logs, spans, metrics, and service specs. Discovers telemetry via cx CLI commands, emits importable Coralogix JSON, verifies every PromQL and DataPrime query live through the cx CLI, and creates or updates dashboards via cx dashboards create and cx dashboards replace. Use whenever the user asks to create, build, generate, deploy, update, replace, or modify a Coralogix dashboard, monitoring dashboard, or observability dashboard fo

1小时安装量
2
GitHub Stars
243
最近更新
11月17日