edx Command Reference

Reference for every edx CLI command: logs, metrics, traces, events, monitors, pipelines, live capture, dashboards, AI Team, and the raw API escape hatch.

This page lists every edx command, grouped by domain. For installation, authentication, output formats, and shared conventions such as time ranges and pagination, see the edx CLI overview. Run edx <command> --help for the complete flag list of any command.

The command tree covers the three Edge Delta product areas plus supporting utilities:

graph TD
  A[edx] --> B[Observability]
  A --> C[Pipelines]
  A --> D[AI Team]
  A --> E[Utilities]
  B --> B1[logs, patterns, metrics,
traces, events, monitors,
dashboards, facets, service-map] C --> C1[pipelines, fleet, capture,
health, ingest] D --> D1[ai issues, threads, channels,
agents, connectors, activity] E --> E1[auth, config, api,
skills, version, update]

Global flags

These flags work on every command:

FlagPurpose
-o, --outputOutput format: json (default), yaml, table, csv, raw
--columnsDot-path columns for table and csv output
--profileConfig profile to use
--envprod or staging (overrides the profile)
--orgOrganization ID (overrides the profile)
--tokenAPI token (overrides the profile)
--timeoutHTTP request timeout (default 60s)
-y, --yesSkip confirmation prompts on destructive commands

Search commands share the time and paging flags --lookback (default 1h), --from, --to, --limit, --cursor, and --order.

Authentication and configuration

Manage credentials and inspect the resolved configuration:

CommandDescription
edx auth loginSave credentials to a profile: OAuth browser login by default, or --token <api-token> --org-id <org-id>
edx auth listList saved profiles (the default is marked with *)
edx auth use <profile>Set the default profile
edx auth statusShow the active profile and verify the token against the API
edx auth logoutRemove the stored credentials for the active profile
edx config showPrint the resolved configuration with secrets masked (no network call)
edx config pathPrint the config file path

Logs

Search and aggregate logs with CQL:

CommandDescription
edx logs searchSearch raw logs. -q/--query (empty matches all), time flags, --limit, --cursor, --order
edx logs graphLog count time series for a CQL filter. --group-by splits the series, for example by service.name

For example, find recent errors from one service:

edx logs search -q 'service.name:"checkout" AND severity_text:"error"' --lookback 4h

Patterns

Work with log patterns (clustered message signatures) for anomaly hunting:

CommandDescription
edx patterns listList top patterns with counts, deltas, and sentiment. --summary returns about 50 interesting clusters; --negative filters to negative sentiment
edx patterns samplesFetch raw log samples scoped by --query and time

Metrics

Discover metric names, then query them:

CommandDescription
edx metrics listList available metric names. --keyword filters with a case-insensitive substring
edx metrics queryAggregate a metric. --name (required, exact name), --agg (sum, avg, min, max, count, median), --filter (CQL), --group-by, --rollup (seconds), --graph-type (timeseries or table)

Metric names must be exact in metrics query; use metrics list first when unsure.

Traces and service map

Search distributed traces and view service dependencies:

CommandDescription
edx traces searchSearch OpenTelemetry spans with CQL field syntax. --include-children includes child spans for full trace context
edx service-mapGet the service dependency map derived from traces

Events

Search events such as pattern anomalies, monitor alerts, and Kubernetes events:

CommandDescription
edx events searchSearch events with CQL; full-text search is supported. For example -q 'event.domain:"Monitor"'

Monitors

Manage monitors and inspect their states:

CommandDescription
edx monitors listList monitors, optionally filtered with -q
edx monitors get <monitor-id>Get a monitor by ID
edx monitors create --file monitor.jsonCreate a monitor from a JSON definition (- reads stdin)
edx monitors update <monitor-id> --file monitor.jsonUpdate a monitor from a JSON definition
edx monitors delete <monitor-id>Delete a monitor
edx monitors statesList monitor states (triggered and resolved)
edx monitors evaluate <monitor-id>Dry-run a metric monitor’s query now and show the value against its thresholds

Pipelines

Manage pipeline configurations through their full lifecycle: inspect, validate, save, deploy, and roll back.

CommandDescription
edx pipelines listList pipelines. --keyword filters by tag; --all includes suspended pipelines
edx pipelines get <conf-id>Get a pipeline definition, including the config content
edx pipelines history <conf-id>Show version history: who changed what, and when
edx pipelines save <conf-id> --file pipeline.yamlSave a new version without deploying. -d adds a change description
edx pipelines deploy <conf-id> [version]Deploy a saved version to the fleet, or roll back to a prior version. --latest deploys the most recently saved version; --wait waits for agents to report rollout health
edx pipelines validate --file pipeline.yamlValidate a configuration without saving it
edx pipelines agents <conf-id>List agents running this pipeline
edx pipelines status <conf-id>Get fleet status (running or suspended)
edx pipelines deploy-command <conf-id>Get the install command for this pipeline’s agents

A typical change follows validate, save, then deploy:

edx pipelines validate --file pipeline.yaml
edx pipelines save conf-123 --file pipeline.yaml -d "Mask PII in checkout logs"
edx pipelines deploy conf-123 --latest --wait

Processor dry runs

edx pipelines test dry-runs processors against sample data without saving or deploying anything:

CommandDescription
edx pipelines test ottl <conf-id> --file items.jsonl --statements '<ottl>'Run OTTL statements against sample OTLP log items
edx pipelines test node <conf-id> --file items.jsonl --node node.jsonRun a full processor node of any type against sample items
edx pipelines test grok <conf-id> --file logs.txt --pattern '%{COMMONAPACHELOG}'Test a grok pattern against raw log lines
edx pipelines test regex <conf-id> --file logs.txt --pattern '<regex>'Test an RE2 regex against raw log lines; named groups become fields

Fleet

View agents and deployments across all pipelines:

CommandDescription
edx fleet agentsList agents across all pipelines
edx fleet deployments [conf-id]Show deployment status across the fleet, or for one pipeline

Live capture

Sample real data flowing through pipeline nodes on running agents. Capture tasks are ephemeral and self-expiring, and they do not modify the pipeline. See Live Capture for the concept.

CommandDescription
edx capture start <conf-id>Start a capture task. --duration (default 2m), --nodes (default all), --max-items per node (default 20, max 100)
edx capture task <conf-id>Show the active capture task for a pipeline
edx capture status <task-id>Show per-agent status for a capture task
edx capture results <conf-id>Fetch captured samples, before and after each node

Health

Inspect pipeline component health (sources, processors, destinations):

CommandDescription
edx health components --host <host>Component health entries for one host
edx health problemsComponents currently reporting problems

Dashboards

Manage dashboards from the terminal:

CommandDescription
edx dashboards listList dashboards
edx dashboards get <dashboard-id>Get a dashboard definition
edx dashboards create --file dashboard.jsonCreate a dashboard from a JSON definition
edx dashboards update <dashboard-id> --file dashboard.jsonUpdate a dashboard
edx dashboards delete <dashboard-id>Delete a dashboard

Facets

Discover queryable fields and their observed values before writing CQL:

CommandDescription
edx facets keys --scope <scope>List all filterable field names for a scope (log, metric, trace, pattern, event)
edx facets options --scope <scope> --facet <field>List observed values for a field
edx facets list --scope <scope>List configured facets, built-in and user-defined

AI Team

Work with AI Team issues, conversations, teammates, and connectors:

CommandDescription
edx ai issues listList open issues raised by AI teammates. --include-closed and --with-threads expand the output
edx ai issues get <issue-id>Get a single issue
edx ai issues criticalList the most critical open issues, ranked
edx ai issues close <issue-id>Close an issue
edx ai issues delete <issue-id>Delete an issue
edx ai issues healthShow the current health score derived from open issues
edx ai issues timelineShow the health score timeline over a lookback window
edx ai channels listList channels
edx ai channels messages <channel-id>List messages in a channel
edx ai threads list --channel <channel-id>List threads in a channel
edx ai threads messages --channel <channel-id> <thread-id>List messages in a thread
edx ai agents listList AI teammates
edx ai agents update <agent-id>Update a teammate from --file agent.json or with prompt flags such as --user-prompt
edx ai connectors listList configured connectors
edx ai connectors specsList available connector types and their configuration specs
edx ai connectors update --file connector.jsonCreate or update a connector
edx ai connectors delete --file connector.jsonDelete a connector
edx ai activityShow AI teammate activity metrics (--lookback, default 24h)

Ingestion

Inspect ingestion endpoints and tokens:

CommandDescription
edx ingest endpointsShow HTTPS ingestion endpoints with sample payloads and test commands
edx ingest token --conf-id <conf-id> --node-name <node>Get or create an ingestion token

Raw API

edx api <METHOD> <path> calls any Edge Delta API endpoint directly, for endpoints without a dedicated command. The {org} placeholder is substituted automatically, and org-relative shorthand paths work too:

edx api GET /v1/orgs/{org}/users
edx api GET /tokens
edx api POST /monitors --data @monitor.json

See the API Reference for available endpoints.

Skills

Install Edge Delta skills into AI coding assistants so they know how to drive edx:

CommandDescription
edx skills listList the available skills
edx skills show <skill>Print a skill’s definition
edx skills install [platform]Install skills for claude, cursor, codex, opencode, or all (auto-detected if omitted). --project installs into the current repository
edx skills update [platform]Re-install skills, overwriting previously installed copies

Version and updates

Check and update the installed version:

CommandDescription
edx versionPrint the installed version
edx updateUpdate to the latest release. --check reports availability without installing

See Also