coralogix-docs
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseCoralogix docs (cx docs search
, cx docs fetch
)
cx docs searchcx docs fetchCoralogix 文档(cx docs search
、cx docs fetch
)
cx docs searchcx docs fetchThese commands read official Coralogix product documentation from coralogix.com/docs. They answer how the platform works and how to configure or use it. They do not query your tenant's logs, spans, metrics, or alerts.
No Coralogix API key is required.
这些命令从coralogix.com/docs读取Coralogix官方产品文档,用于解答平台的工作原理以及配置使用方法。它们不会查询租户的日志、链路追踪数据、指标或告警。
无需Coralogix API密钥。
CLI commands
CLI命令
| Command | Purpose |
|---|---|
| Find doc pages by keyword. Returns numbered titles + path suffixes. |
| Download one page as markdown. Pass the suffix from search. |
| 命令 | 用途 |
|---|---|
| 通过关键词查找文档页面,返回带编号的标题和路径后缀。 |
| 下载单个页面为markdown格式,传入搜索结果中的后缀即可。 |
Flags
标记(Flags)
| Flag | Commands | Description |
|---|---|---|
| | Max results, 1–20 (default 5) |
| both | Machine-readable output |
| 标记 | 适用命令 | 描述 |
|---|---|---|
| | 最大结果数,范围1–20(默认值为5) |
| 两者均适用 | 机器可读格式输出 |
Examples
示例
bash
cx docs search "explore spans" --limit 5
cx docs search "OpenTelemetry traces"
cx docs fetch user-guides/data_exploration/spans/
cx docs search "API keys" -o jsonbash
cx docs search "explore spans" --limit 5
cx docs search "OpenTelemetry traces"
cx docs fetch user-guides/data_exploration/spans/
cx docs search "API keys" -o jsonWhen to use these commands
何时使用这些命令
Use + when the user wants:
cx docs searchcx docs fetch| Topic | Example questions |
|---|---|
| UI / workflows | "How do I view spans in Coralogix?", "Where is Explore spans?" |
| Ingestion & integrations | OpenTelemetry setup, agent/collector config, Send Your Data API keys |
| Platform features | Alerts, SLOs, dashboards, enrichments, parsing rules, retention |
| Concepts & architecture | How tracing works, trace-log correlation, data model |
| Account & access | API keys, SSO, roles, regions |
Prefer these commands over guessing when the answer depends on current Coralogix product behavior or UI navigation.
当用户需要以下信息时,使用**** + :
cx docs searchcx docs fetch| 主题 | 示例问题 |
|---|---|
| UI / 工作流 | "如何在Coralogix中查看链路追踪数据?"、"链路追踪探索功能在哪里?" |
| 数据采集与集成 | OpenTelemetry设置、agent/collector配置、数据发送API密钥 |
| 平台功能 | 告警、SLO、仪表盘、数据增强、解析规则、数据留存 |
| 概念与架构 | 链路追踪工作原理、追踪-日志关联、数据模型 |
| 账户与权限 | API密钥、单点登录(SSO)、角色、区域 |
当答案依赖于Coralogix当前产品行为或UI导航时,优先使用这些命令而非自行猜测。
When not to use these commands
何时不使用这些命令
| User need | Use instead |
|---|---|
| Query live logs | |
| Query live spans/traces | |
| DataPrime syntax / commands | |
| Alerts & incidents in the tenant | |
| Metrics (PromQL) | |
| Discover field paths in tenant data | |
| 用户需求 | 替代方案 |
|---|---|
| 查询实时日志 | |
| 查询实时链路追踪数据 | |
| DataPrime语法/命令 | |
| 租户中的告警与事件 | |
| 指标(PromQL) | |
| 发现租户数据中的字段路径 | |
Standard workflow
标准工作流
- with a focused query (2–4 keywords, not full sentences).
cx docs search - Pick the most relevant suffix from the results.
- on that suffix.
cx docs fetch - Answer from the fetched content. Fetch additional pages only when needed.
User: "How do I show spans in the Coralogix website?"
1. cx docs search "explore spans" --limit 5
2. cx docs fetch user-guides/data_exploration/spans/
3. Summarize: Explore → spans dataset → Spans/Traces/Flows tabs → drilldown- 使用****执行精准查询(2–4个关键词,而非完整句子)。
cx docs search - 从结果中选择最相关的路径后缀。
- 对该后缀执行****。
cx docs fetch - 根据获取的内容作答,仅在需要时获取额外页面。
User: "How do I show spans in the Coralogix website?"
1. cx docs search "explore spans" --limit 5
2. cx docs fetch user-guides/data_exploration/spans/
3. Summarize: Explore → spans dataset → Spans/Traces/Flows tabs → drilldownTips
技巧
cx docs search
cx docs searchcx docs search
cx docs search- Start with 2–4 focused terms, not full sentences.
- If no matches, try synonyms or broader terms (instead of
"tracing")."distributed trace waterfall view" - Increase when the first page of hits is ambiguous.
--limit - Results use path suffixes under (not full URLs) — pass them directly to
/docs/.cx docs fetch
- 以2–4个精准术语开头,而非完整句子。
- 如果没有匹配结果,尝试同义词或更宽泛的术语(用替代
"tracing")。"distributed trace waterfall view" - 当第一页结果不明确时,增大的值。
--limit - 结果使用下的路径后缀(而非完整URL),可直接传入**
/docs/**使用。cx docs fetch
cx docs fetch
cx docs fetchcx docs fetch
cx docs fetch- Pass the suffix from (e.g.
cx docs search). Full URLs are rejected.user-guides/data_exploration/spans/ - one page at a time — pick the best match first.
cx docs fetch
- 传入****返回的路径后缀(例如
cx docs search),完整URL会被拒绝。user-guides/data_exploration/spans/ - 一次仅获取一个页面——先选择最匹配的页面。
Troubleshooting
故障排除
| Problem | Action |
|---|---|
| No search matches | Broaden or rephrase the query; try feature name + category ( |
| Fetched page is too narrow | Search for the parent topic or run a second search with related terms. |
| User wants their actual data | Switch to |
| 问题 | 解决方法 |
|---|---|
| 无搜索匹配结果 | 扩大查询范围或重新表述;尝试功能名称+类别(例如 |
| 获取的页面范围过窄 | 搜索父主题或使用相关术语执行第二次搜索。 |
| 用户需要查看自身实际数据 | 切换至 |
Related
相关内容
- Telemetry queries: cx-telemetry-querying
- Alerts: cx-alerts
- Dashboards: cx-dashboards
- 遥测查询: cx-telemetry-querying
- 告警: cx-alerts
- 仪表盘: cx-dashboards