Coralogix docs (cx docs search, cx docs fetch)
These 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.
CLI commands
| Command |
Purpose |
cx docs search <query> |
Find doc pages by keyword. Returns numbered titles + path suffixes. |
cx docs fetch <suffix> |
Download one page as markdown. Pass the suffix from search. |
Flags
| Flag |
Commands |
Description |
--limit |
search |
Max results, 1–20 (default 5) |
-o json / -o toon |
both |
Machine-readable output |
Examples
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 json
When to use these commands
Use cx docs search + cx docs fetch when the user wants:
| 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.
When not to use these commands
Standard workflow
cx docs search with a focused query (2–4 keywords, not full sentences).
- Pick the most relevant suffix from the results.
cx docs fetch on that suffix.
- 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
Tips
cx docs search
- Start with 2–4 focused terms, not full sentences.
- If no matches, try synonyms or broader terms (
"tracing" instead of "distributed trace waterfall view").
- Increase
--limit when the first page of hits is ambiguous.
- Results use path suffixes under
/docs/ (not full URLs) — pass them directly to cx docs fetch.
cx docs fetch
- Pass the suffix from
cx docs search (e.g. user-guides/data_exploration/spans/). Full URLs are rejected.
cx docs fetch one page at a time — pick the best match first.
Troubleshooting
| Problem |
Action |
| No search matches |
Broaden or rephrase the query; try feature name + category ("spans UI", "OTel ingestion"). |
| 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 cx logs, cx spans, cx metrics, or alerts — docs describe the product, not tenant contents. |
Related
1---2name: coralogix-docs3description: 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.4---56# Coralogix docs (`cx docs search`, `cx docs fetch`)78These commands read **official Coralogix product documentation** from [coralogix.com/docs](https://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.910No Coralogix API key is required.1112## CLI commands1314| Command | Purpose |15|---------|---------|16| `cx docs search <query>` | Find doc pages by keyword. Returns numbered titles + path suffixes. |17| `cx docs fetch <suffix>` | Download one page as markdown. Pass the suffix from search. |1819### Flags2021| Flag | Commands | Description |22|------|----------|-------------|23| `--limit` | `search` | Max results, 1–20 (default 5) |24| `-o json` / `-o toon` | both | Machine-readable output |2526### Examples2728```bash29cx docs search "explore spans" --limit 530cx docs search "OpenTelemetry traces"31cx docs fetch user-guides/data_exploration/spans/32cx docs search "API keys" -o json33```3435## When to use these commands3637Use **`cx docs search`** + **`cx docs fetch`** when the user wants:3839| Topic | Example questions |40|-------|-------------------|41| **UI / workflows** | "How do I view spans in Coralogix?", "Where is Explore spans?" |42| **Ingestion & integrations** | OpenTelemetry setup, agent/collector config, Send Your Data API keys |43| **Platform features** | Alerts, SLOs, dashboards, enrichments, parsing rules, retention |44| **Concepts & architecture** | How tracing works, trace-log correlation, data model |45| **Account & access** | API keys, SSO, roles, regions |4647**Prefer these commands over guessing** when the answer depends on current Coralogix product behavior or UI navigation.4849## When **not** to use these commands5051| User need | Use instead |52|-----------|-------------|53| **Query live logs** | `cx logs` — [cx-telemetry-querying](../cx-telemetry-querying/SKILL.md) |54| **Query live spans/traces** | `cx spans` — [cx-telemetry-querying](../cx-telemetry-querying/SKILL.md) |55| **DataPrime syntax / commands** | `cx dataprime list` / `cx dataprime show` — [cx-telemetry-querying](../cx-telemetry-querying/SKILL.md) |56| **Alerts & cases in the tenant** | `cx alerts`, `cx cases` — [cx-alerts](../cx-alerts/SKILL.md), [cx-cases](../cx-cases/SKILL.md) |57| **Metrics (PromQL)** | `cx metrics` — [cx-telemetry-querying](../cx-telemetry-querying/SKILL.md) |58| **Discover field paths in tenant data** | `cx search-fields` |5960## Standard workflow61621. **`cx docs search`** with a focused query (2–4 keywords, not full sentences).632. Pick the most relevant **suffix** from the results.643. **`cx docs fetch`** on that suffix.654. Answer from the fetched content. Fetch additional pages only when needed.6667```68User: "How do I show spans in the Coralogix website?"69701. cx docs search "explore spans" --limit 5712. cx docs fetch user-guides/data_exploration/spans/723. Summarize: Explore → spans dataset → Spans/Traces/Flows tabs → drilldown73```7475## Tips7677### `cx docs search`7879- Start with **2–4 focused terms**, not full sentences.80- If no matches, try synonyms or broader terms (`"tracing"` instead of `"distributed trace waterfall view"`).81- Increase `--limit` when the first page of hits is ambiguous.82- Results use **path suffixes** under `/docs/` (not full URLs) — pass them directly to **`cx docs fetch`**.8384### `cx docs fetch`8586- Pass the **suffix** from **`cx docs search`** (e.g. `user-guides/data_exploration/spans/`). Full URLs are rejected.87- **`cx docs fetch` one page at a time** — pick the best match first.8889## Troubleshooting9091| Problem | Action |92|---------|--------|93| **No search matches** | Broaden or rephrase the query; try feature name + category (`"spans UI"`, `"OTel ingestion"`). |94| **Fetched page is too narrow** | Search for the parent topic or run a second search with related terms. |95| **User wants their actual data** | Switch to `cx logs`, `cx spans`, `cx metrics`, or alerts — docs describe the product, not tenant contents. |9697## Related9899- **Telemetry queries:** [cx-telemetry-querying](../cx-telemetry-querying/SKILL.md)100- **Alerts:** [cx-alerts](../cx-alerts/SKILL.md)101- **Dashboards:** [cx-dashboards](../cx-dashboards/SKILL.md)