Appearance
Commands
Every command supports --help for command-specific usage:
bash
vant trial --help
vant register --help
vant query --helpSetup
trial
Start a free 14-day trial with no account required:
bash
vant trial
vant trial "my-app" --origins "https://myapp.com,https://app.myapp.com"Provisions an anonymous project and saves credentials to ~/.vantmetry/config.json.
After the trial, link it to your account:
bash
vant claim your@email.comregister
Create an account and provision a project in one step:
bash
vant register your@email.comCredentials are saved automatically and a dashboard login link is sent to your email.
claim
Link a local anonymous project (created via vant trial) to your account:
bash
vant claim your@email.comA dashboard login link is sent to your email.
Project management
config
Configure a named project with an ingestor URL and secret key:
bash
vant config prod
vant config stagingYou will be prompted for the URL and secret key. Saves to ~/.vantmetry/config.json.
use
Switch the active project:
bash
vant use prod
vant use stagingls
List all configured projects and show which is active:
bash
vant lsremove
Remove a saved project from local config:
bash
vant remove stagingQuerying
query
Execute a SQL query against the active project:
bash
vant query "SELECT * FROM vantmetry_logs LIMIT 10"Output formats:
--json: JSON array--ndjson: Newline-delimited JSON (for piping to LLMs or large datasets)--fields=col1,col2: Return only specified columns
bash
vant query "SELECT * FROM vantmetry_logs WHERE severity = 'ERROR'" --ndjson --fields=ts,messagerecent
Show the last 20 logs with timestamp, severity, and message:
bash
vant recenterrors
Show recent errors grouped by fingerprint with occurrence counts:
bash
vant errorsGroups by fingerprint (hash of error type, message, and stack). Useful for finding your most frequent errors.
schema
Print the database schema and CLI command reference as JSON:
bash
vant schemaOutputs column names and types for vantmetry_logs. Useful for AI agents and introspection tools.
Interactive REPL
Drop into an interactive SQL prompt with no arguments:
bash
vantInside the REPL, type SQL queries or shortcuts:
vant> SELECT * FROM vantmetry_logs LIMIT 10
vant> recent
vant> errors
vant> help
vant> exit