Parseable

Dataset Management

Create, inspect, and delete datasets with pb dataset.


Datasets are the top-level containers for logs, metrics, and traces in Parseable. Use pb dataset to manage them from the terminal.

List datasets

pb dataset list
pb dataset ls
pb dataset list --output json

Create a dataset

pb dataset add <name> --type <logs|metrics|traces>
pb dataset add backend_logs --type logs
pb dataset add frontend_metrics --type metrics
pb dataset add checkout_traces --type traces

If --type is omitted, pb opens an interactive picker for logs, metrics, or traces.

Inspect a dataset

pb dataset info backend_logs
pb dataset stat backend_logs
pb dataset info backend_logs --output json

Shows:

  • Event count and ingestion size
  • Storage size and compression ratio
  • Retention period (if configured)
  • Active alerts (if any)
  • Dataset type (logs, metrics, or traces)

Delete a dataset

pb dataset remove <name>
pb dataset rm <name>
pb dataset remove old_logs --type logs

Deleting a dataset removes all data it contains. This action cannot be undone.

Use --type with remove when you want the command to fail if the dataset is not the expected type.

Was this page helpful?

On this page