Parseable

Aliases and Reference

Short command aliases and the current pb command surface.


pb includes Linux-style aliases for common commands. If you already use commands like ls, rm, stat, and ps in the shell, the short forms will feel familiar. The long form is still the better choice in scripts when readability matters more.

Linux-style aliasMeaning in pb
lsList items
rmRemove an item
statShow dataset info and statistics
psShow active PromQL queries

Aliases

Long commandAlias
pb sql listpb sql ls
pb dataset listpb dataset ls
pb dataset info <dataset>pb dataset stat <dataset>
pb dataset remove <dataset>pb dataset rm <dataset>
pb profile listpb profile ls
pb profile remove <profile>pb profile rm <profile>
pb profile update <profile> <url>pb profile set-url <profile> <url>
pb user listpb user ls
pb user remove <user>pb user rm <user>
pb role listpb role ls
pb role remove <role>pb role rm <role>
pb promql active-queriespb promql ps

Command groups

AreaCommandsWhat you can do
Query logspb sqlRun SQL, save queries, list saved queries, open the interactive table view
Query metricspb promqlRun PromQL, inspect labels and series, analyze cardinality, view TSDB stats
Stream eventspb tailWatch new events from a dataset
Datasetspb datasetList, inspect, create, and remove datasets
Profilespb login, pb cloud profile, pb profile, pb logoutManage self-hosted and Parseable Cloud connections
Access controlpb user, pb roleManage users and roles
Systempb status, pb versionCheck connectivity and print CLI version details

Help

Use built-in help whenever you want to inspect flags and examples for a command:

pb --help
pb sql run --help
pb promql run --help
pb dataset add --help

Was this page helpful?

On this page