cx-cli
Require OS credential storage for cx on managed devices
IT can now require cx to keep API keys and OAuth tokens in the OS credential store instead of plaintext profile files on managed macOS and Windows devices. Deploy the RequireCredentialStorage policy through Jamf or another MDM configuration profile on macOS, where cx uses the Keychain, or through Group Policy or Intune on Windows, where it uses Windows Credential Manager. With the policy on, cx moves existing plaintext profile credentials into the OS store, setup skips the storage choice, and CX_CREDENTIAL_STORAGE=file is rejected. Linux ignores the policy and keeps its existing behavior. Learn more
Query a group of teams with one label
From cx-cli v0.1.35, tag your profiles with labels and run any command against the whole group with --label, instead of repeating -p for every team. The results come back merged, with the team name on each row. A label can stand for a customer, a tier, or a region. Tag a profile with cx profiles labels add acme-eu --label customer:acme, then run cx logs 'filter $m.severity == ERROR' --label customer:acme. Learn more
SLO status with cx slos status
Get compliance and remaining error budget for one or more SLOs in one command, for reports, cron jobs, and CI/CD. Use the SLO's own time frame, a recent window with --last 4h, or a fixed one with --from and --to. Narrow to one permutation with --grouping-key, or check against a different target with --target. Add -o json for output you can pipe into scripts. Learn more
Credentials in the macOS Keychain, and cx in Homebrew Core
From cx-cli v0.1.34, new profiles on macOS store their credentials in the Keychain by default instead of in a plain config file. Existing file-based profiles stay as they are. Install with the script (curl -fsSL https://get.coralogix.dev/cli | sh) to get the Coralogix-signed binary, so only a cx signed by Coralogix can read the stored credentials without a prompt.
cx is also available in Homebrew Core for macOS and Linux (brew install cx). Homebrew builds are not signed by Coralogix: they reach the Keychain through Apple's /usr/bin/security tool, so upgrades do not trigger new Keychain prompts, but any process running as your macOS user can read those credentials. For CI and coding agents, use CX_API_KEY and CX_REGION instead of storing a profile.
Query Continuous Profiling from the terminal
From cx-cli v0.1.29, cx profiling reads Continuous Profiling data from your terminal or a script. Its five read-only subcommands rank profiled services by CPU or memory usage, list the profile types and filter labels a service has, chart one profile type's usage over time split by pod or any label, and decode a flame graph into a call tree plus the functions with the highest self value. Every subcommand takes a time range and supports -o json and -o toon. The same data is available in the Coralogix MCP server and in Olly.
Security: eMudhra CA compromise
Priority: Medium. On October 20, 2026, the private keys for 8 intermediate certificate authorities operated by eMudhra were reported compromised. This is an industry-wide issue, not specific to Coralogix. Update cx-cli to v0.1.28 or later (re-run the install/update script or download from the release page) out of an abundance of caution. Coralogix endpoints and internal services do not use eMudhra or emSign certificates, and we have not identified any impact to customer data.
One-command setup with cx init
Setting up the CLI is now a single command. cx init creates your profile, installs the agent skills, and offers to set up shell tab-completion in one guided run, so you can no longer end up with a CLI your coding agent doesn't know how to use.
You no longer need to know your region: paste the Coralogix URL you use in the browser and cx derives the region for you. A URL it doesn't recognize, such as a bring-your-own-cloud or private-link deployment, becomes a custom API endpoint instead of an error. Sign-in is a browser login, so there is no API key to paste.
New profiles allow risky commands (iam and archive write operations) and have Olly enabled. Neither is prompted for. Change allow_risky_commands or olly_enabled in ~/.cx/config.toml afterwards, or create the first profile with cx profiles add --disable-olly.
Spell the run out with flags (cx init --url ... --api-key $CX_API_KEY --global-skills) and it prompts for nothing, which is the path for CI, containers, and coding agents. A new cx skills install command installs and updates the agent skills on their own, and any command run on a machine with no profile now points you at cx init.
"View in Coralogix" links from the terminal
After a command that acts on something with a page in the Coralogix UI, cx prints a View in Coralogix: <url> line, so you can jump from your terminal straight to the dashboard, alert, or case you just worked on. A command that acts on a single resource links to that resource's page. A list or settings command links once to the page that holds the whole collection, however many rows it returned, and prints nothing when the result is empty. A run that targets several profiles at once prints one link per profile.
The line goes to stderr only, so -o json and -o toon output is unchanged and anything parsing structured output never sees it. Most teams need no setup: cx resolves your console URL from the API on first use and caches it in the profile for seven days.
Suppress the line with --no-console-link for a single run, CX_NO_CONSOLE_LINK for a shell session or CI job, or no_console_link = true in ~/.cx/config.toml for every invocation.
Coralogix docs lookup from the terminal
Two new commands (cx docs search <query> and cx docs fetch <suffix>) search and read the Coralogix documentation portal directly from your terminal. Use --limit to widen the result set and -o json or -o agents for machine-readable output.
No API key is required. The docs portal is public. The same lookup is also available in the Coralogix MCP server as search_docs and fetch_doc.
AI-native Case management from the terminal
A new Cases skill for cx-cli brings incident response to the terminal. Use cx to query Cases, troubleshoot and resolve incidents, run analytics, and follow AI agent-guided lifecycle steps (from triage through resolution) without leaving your shell. Learn more
cx-cli launch
The Coralogix CLI (cx-cli) is now available. Query logs, metrics, spans, and Real User Monitoring (RUM) data from the terminal using DataPrime and PromQL. Built for humans and AI agents. Includes multi-profile fan-out, AI-friendly output formats, and bundled skills for Claude Code, Cursor, Codex, and 40+ more agents. Learn more
