Reference

The Bindplane CLI provides a comprehensive set of commands for managing agents, resources, configurations, users, organizations, and more. This reference covers all available commands and their usage.


Getting Started

Basic Usage

bindplane [command] [flags]

Help

Get help for any command:

bindplane <command> --help

Version Information

bindplane version

Displays both server and client version details.


Core Commands

init / initialize

Initialize a Bindplane installation.

Command
Description
Usage

init server

Initialize a new server installation

bindplane init server

init client

Initialize a new client installation

bindplane init client

init ldap

Initialize and migrate to LDAP configuration

bindplane init ldap

init auth

Initialize and migrate authentication

bindplane init auth

init license

Set license key in configuration

bindplane init license

serve

Start the Bindplane server.

Flags:

  • --force-console-color: Force colored output

  • --skip-seed: Do not seed resource types on startup


Resource Management

get

Display resources and their details.

Syntax:

Available Resource Types:

  • agents / agent - Agent instances

  • agent-types / agent-type - Agent type definitions

  • agent-versions / agent-version - Agent version definitions

  • configurations / configuration / configs / config - Agent configurations

  • sources / source - Data sources

  • source-types / source-type - Source type definitions

  • processors / processor - Data processors

  • processor-types / processor-type - Processor type definitions

  • destinations / destination - Data destinations

  • destination-types / destination-type - Destination type definitions

  • extensions / extension - Extensions

  • extension-types / extension-type - Extension type definitions

  • connectors / connector - Connectors

  • connector-types / connector-type - Connector type definitions

  • recommendation-types / recommendation-type - Recommendation types

  • available-components / available-component - Available components

  • rollouts / rollout - Configuration rollouts

  • organizations / organization - Organizations

  • accounts / account - Projects/accounts

  • users / user - Users

  • audit-events / audit-event - Audit events

  • organization-accounts / organization-account - Organization accounts

  • organization-users / organization-user - Organization users

  • recordings / recording - Recordings

  • fleets / fleet - Agent fleets

  • resources - All resources

Common Flags:

  • --history: Show resource history (where supported)

  • --export: Export resource in importable format

  • --selector: Filter by label selector

  • --query: Search query

  • --offset, --limit, --sort: For paging and sorting

  • --show-all-labels: Show all labels for agents

Examples:

apply

Create or update (upsert) any resource in Bindplane from files or stdin. The apply command is the primary method for managing all Bindplane resources. It will create new resources if they don't exist, or update existing resources if they do.

Syntax:

Flags:

  • -f, --file: Path(s) to YAML file(s) specifying resources

Supported Resource Types:

The apply command works with all Bindplane resources:

  • agents / agent - Agent instances

  • agent-types / agent-type - Agent type definitions

  • agent-versions / agent-version - Agent version definitions

  • configurations / configuration / configs / config - Agent configurations

  • sources / source - Data sources

  • source-types / source-type - Source type definitions

  • processors / processor - Data processors

  • processor-types / processor-type - Processor type definitions

  • destinations / destination - Data destinations

  • destination-types / destination-type - Destination type definitions

  • extensions / extension - Extensions

  • extension-types / extension-type - Extension type definitions

  • connectors / connector - Connectors

  • connector-types / connector-type - Connector type definitions

  • organizations / organization - Organizations

  • accounts / account - Projects/accounts

  • users / user - Users

  • fleets / fleet - Agent fleets

Examples:

Important Notes:

  • Upsert Behavior: apply will create new resources if they don't exist, or update existing resources if they do

  • Idempotent: You can safely run apply multiple times on the same resources

  • File Format: Resources must be specified in YAML format

  • Resource Identification: Resources are identified by their name field in the YAML

delete

Delete resources.

Flags:

  • -f, --file: Path to YAML file specifying resources

  • --selector: Label selector for filtering

  • --query: Query for filtering

  • --force: Force deletion with no checks

Supported Resource Types:

  • agent

  • agent-type

  • agent-version

  • configuration

  • source

  • source-type

  • processor

  • processor-type

  • connector

  • connector-type

  • destination

  • destination-type

  • extension

  • extension-type

  • recommendation-type

  • project

  • user

  • recording

  • fleet

  • organization

Examples:

copy

Make a copy of a resource.

Aliases: cp

Examples:


Agent Version Management

update

Update existing agents.

Aliases: upgrade

Flags:

  • --version: Version of the agent to install (default: "latest")

Examples:

sync

Synchronize agent-versions from GitHub.

Flags:

  • --agent-type: Agent type to sync (default: "observiq-otel-collector")

  • --version: Version to sync (default: "latest")

  • --all: Sync all versions

Examples:

upload

Upload offline agent upgrade packages.

Examples:


Agent Configuration Management

rollout

Manage configuration rollouts.

Command
Description
Usage

rollout update

Update a rollout

bindplane rollout update [configuration]

rollout start

Start a rollout

bindplane rollout start <configuration> [flags]

rollout pause

Pause a rollout

bindplane rollout pause <configuration>

rollout resume

Resume a rollout

bindplane rollout resume <configuration>

rollout status

Get rollout status

bindplane rollout status <configuration>

Start Flags:

  • --all: Start rollout for every configuration

  • --max-errors: Maximum errors before pausing

  • --initial: Initial number of agents

  • --multiplier: Multiplier for agent count

  • --max: Maximum number of agents

Examples:


User & Organization Management

create

Create new projects or organizations.

Examples:

add

Add users to Bindplane.

Flags:

  • --email: Email address of the user

  • --name: Username

  • --create: Create the user if necessary

Examples:


System Administration

admin

Administrator commands for database maintenance.

Command
Description
Usage

admin vacuum-stats

Display vacuum statistics

bindplane admin vacuum-stats

admin vacuum-analyze

Vacuum and analyze database

bindplane admin vacuum-analyze [-y] [-f]

Vacuum Flags:

  • -y, --accept: Automatically accept the prompt

  • -f, --full: Perform a full vacuum

Examples:

migrate

Perform database migrations.

Flags:

  • version: Specific version to migrate to

  • -y, --accept: Automatically accept the prompt

Examples:

secret

Manage secret keys for the current project.

Command
Description
Usage

secret get

Get secret keys

bindplane secret get

secret add

Add a secret key

bindplane secret add

secret delete

Delete a secret key

bindplane secret delete <key>

secret default

Set default secret key

bindplane secret default <key>

Examples:


Development & Utilities

profile

Manage Bindplane CLI profiles.

Command
Description
Usage

profile get

Get profile details

bindplane profile get [name]

profile set

Set profile details

bindplane profile set [name]

profile create

Create a new profile

bindplane profile create <name>

profile delete

Delete a profile

bindplane profile delete <name>

profile list

List all profiles

bindplane profile list

profile use

Use a profile

bindplane profile use <name>

profile current

Show current profile

bindplane profile current

Examples:

label

Manage resource labels (currently agents only).

Flags:

  • --list: List labels for agent

  • --overwrite: Overwrite existing labels

  • --selector: Filter agents by label

  • --query: Filter agents by query

Examples:


Command Categories Summary

Category
Commands

Core

init, serve, version

Resources

get, apply, delete, copy

Agents

update, sync, upload

Configurations

rollout

Users & Orgs

create, add

Administration

admin, migrate, secret

Utilities

profile, label


Getting Help

For detailed help on any command:

For help on subcommands:


Tips & Best Practices

  1. Use profiles to manage different environments (dev, staging, production)

  2. Use selectors and queries to filter resources efficiently

  3. Export configurations before making changes: bindplane get configuration <name> --export > backup.yaml

  4. Use rollouts for safe configuration deployments

  5. Check resource status before deleting: bindplane get <resource-type> <name>

  6. Use the --force flag carefully, especially with delete operations


This reference covers all available Bindplane CLI commands. For more detailed information about specific features or advanced usage, join the Bindplane Slack Community to get help from the team.

Last updated

Was this helpful?