cx-datasets
БесплатноБез исполняемых скриптовНе проверенDiscover the datasets a Coralogix team can query with the `cx datasets` CLI — the fully qualified `<dataspace>/<dataset>` names DataPrime `source` commands…
от coralogix★ 243 звезды на GitHubОб этом скилле
Datasets Skill
Coralogix data lives in datasets, addressed as <dataspace>/<dataset> —
e.g. default/logs, default/rum.events, system/labs.limitViolations. Every
DataPrime query starts with source <dataspace>/<dataset>, so before querying
an unfamiliar team (or a source you are not sure exists), list what is actually
queryable instead of guessing names.
CLI Commands
| Command | Purpose | Key flags |
|---|---|---|
cx datasets list |
List every dataset queryable by the current profile's team | --filter <DPXL> |
cx datasets list -o json |
Same, as a JSON array of dataset rows | - |
cx datasets fields |
List a dataset's fields as DataPrime keypaths, with their types | --dataset, --exact, --prefix, --contains, --start/--end |
cx datasets field-values '<keypath>' |
Show sample values of one field | --dataset, --label-filter, --exact/--prefix/--contains (on values) |
- Supports
-p <profile>(repeatable) for multi-profile fan-out; aprofilekey is added to each JSON row when more than one profile is targeted. - Read-only — no
--yesconfirmation needed.
Dataset Row Fields
| Field | Meaning |
|---|---|
dataspace |
The dataset's dataspace, e.g. default or system |
dataset |
The dataset name inside its dataspace, e.g. logs, rum.events |
pillar |
The pillar the data belongs to: logs, spans, data, ... |
entityType |
The entity type behind the dataset, e.g. logs, browserLogs/v2, jsonData |
version |
The latest dataset version |
teamId |
The team that owns the dataset |
Only read-enabled, latest-version datasets are returned. The Source column in
text output is the copy-pasteable source argument.
Workflow
List the datasets to see what exists:
cx datasets list cx datasets list -o json | jq -r '.[] | .dataspace + "/" + .dataset' | sortNarrow with a DPXL filter when looking for a specific pillar or dataspace:
cx datasets list --filter "<v1> \$d.pillar == 'logs'" cx datasets list --filter "<v1> \$d.dataspace == 'default' && \$d.pillar == 'data'" cx datasets list --filter "<v1> \$d.dataset.contains('rum')" -o jsonSee which fields it has before writing a filter, and check real values:
cx datasets fields --dataset system/engine.queries --contains duration cx datasets field-values '$d.payment.status' --label-filter applicationName=checkoutSee
cx-telemetry-queryingfor the full field-discovery workflow and how it compares withcx search-fields.Query the dataset with DataPrime, using the full source name:
cx dataprime query --source default/checkoutservice_dataset 'filter $d.severity == ERROR' cx dataprime query --source system/labs.limitViolations 'filter $m.timestamp > now()-1h'--sourceis acx dataprime queryflag —cx logsandcx spansalways query the legacylogs/spansdatasets and take no source override.
DPXL Filter Syntax
--filter takes a DPXL expression including its version tag — it must start
with <v1>. An expression missing the tag is rejected with a 400. In
double-quoted shells (bash/zsh), escape the $ as \$d so the shell does not
expand it — the examples above are copy-paste safe.
Available fields: $d.dataspace, $d.dataset, $d.pillar, $d.entityType,
$d.teamId. Compare with == / != and combine with && / ||. Substring
matching uses method-call syntax — $d.dataset.contains('rum') (case-sensitive
substring), not an infix contains operator.
Key Principles
- Never guess dataset names — a query against a wrong source fails or, worse, silently returns the wrong data. List first, then query.
- The source is
<dataspace>/<dataset>— both parts are needed in DataPrimesourcecommands;default/logsnot justlogs. - Use
-o jsonwithjqwhen you need just the source strings:cx datasets list -o json | jq -r '.[] | .dataspace + "/" + .dataset'. - Filter server-side with
--filterrather than listing everything and grepping locally — same result, less output to parse. - Multi-profile fan-out with
-p <profile>(repeatable) lists datasets across environments in one call.
Related Skills
cx-telemetry-querying— run the DataPrime queries against the datasets discovered here (logs, spans, metrics, RUM), and find fields by name (cx datasets fields), meaning or value (cx search-fields).
Установить cx-datasets в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл cx-datasets?
Discover the datasets a Coralogix team can query with the `cx datasets` CLI — the fully qualified `<dataspace>/<dataset>` names DataPrime `source` commands need — and the fields (keypaths) each one holds, with sample values. Use when the user asks to "list datasets", "what datasets do we have", "which datasets can I query", "find datasets", "show dataspaces", "discover datasets", "what data does this team have", "available DataPrime sources", "filter datasets by pillar", "queryable sources", "dataset names for DataPrime", "what fields does this dataset have", "list a dataset's fields", "sample values of a field", or wants to enumerate or filter the queryable datasets before running a DataPrime query, or to see which fields a dataset has.
Как установить скилл cx-datasets?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл cx-datasets запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic