Loading...
Loading...
Discover the datasets a Coralogix team can query with the `cx datasets` CLI — the fully qualified `<dataspace>/<dataset>` names DataPrime `source` commands need. 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", or wants to enumerate or filter the queryable datasets before running a DataPrime query.
npx skill4agent add coralogix/cx-cli cx-datasets<dataspace>/<dataset>default/logsdefault/rum.eventssystem/labs.limitViolationssource <dataspace>/<dataset>| Command | Purpose | Key flags |
|---|---|---|
| List every dataset queryable by the current profile's team | |
| Same, as a JSON array of dataset rows | - |
-p <profile>profile--yes| Field | Meaning |
|---|---|
| The dataset's dataspace, e.g. |
| The dataset name inside its dataspace, e.g. |
| The pillar the data belongs to: |
| The entity type behind the dataset, e.g. |
| The latest dataset version |
| The team that owns the dataset |
Sourcesourcecx datasets list
cx datasets list -o json | jq -r '.[] | .dataspace + "/" + .dataset' | sortcx 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 jsoncx dataprime query --source default/checkoutservice_dataset 'filter $d.severity == ERROR'
cx dataprime query --source system/labs.limitViolations 'filter $m.timestamp > now()-1h'--sourcecx dataprime querycx logscx spanslogsspans--filter<v1>$\$d$d.dataspace$d.dataset$d.pillar$d.entityType$d.teamId==!=&&||$d.dataset.contains('rum')contains<dataspace>/<dataset>sourcedefault/logslogs-o jsonjqcx datasets list -o json | jq -r '.[] | .dataspace + "/" + .dataset'--filter-p <profile>cx-telemetry-querying