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> --helpVersion Information
bindplane versionDisplays both server and client version details.
Core Commands
init / initialize
init / initializeInitialize a Bindplane installation.
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
serveStart the Bindplane server.
Flags:
--force-console-color: Force colored output--skip-seed: Do not seed resource types on startup
Resource Management
get
getDisplay resources and their details.
Syntax:
Available Resource Types:
agents/agent- Agent instancesagent-types/agent-type- Agent type definitionsagent-versions/agent-version- Agent version definitionsconfigurations/configuration/configs/config- Agent configurationssources/source- Data sourcessource-types/source-type- Source type definitionsprocessors/processor- Data processorsprocessor-types/processor-type- Processor type definitionsdestinations/destination- Data destinationsdestination-types/destination-type- Destination type definitionsextensions/extension- Extensionsextension-types/extension-type- Extension type definitionsconnectors/connector- Connectorsconnector-types/connector-type- Connector type definitionsrecommendation-types/recommendation-type- Recommendation typesavailable-components/available-component- Available componentsrollouts/rollout- Configuration rolloutsorganizations/organization- Organizationsaccounts/account- Projects/accountsusers/user- Usersaudit-events/audit-event- Audit eventsorganization-accounts/organization-account- Organization accountsorganization-users/organization-user- Organization usersrecordings/recording- Recordingsfleets/fleet- Agent fleetsresources- 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
applyCreate 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 instancesagent-types/agent-type- Agent type definitionsagent-versions/agent-version- Agent version definitionsconfigurations/configuration/configs/config- Agent configurationssources/source- Data sourcessource-types/source-type- Source type definitionsprocessors/processor- Data processorsprocessor-types/processor-type- Processor type definitionsdestinations/destination- Data destinationsdestination-types/destination-type- Destination type definitionsextensions/extension- Extensionsextension-types/extension-type- Extension type definitionsconnectors/connector- Connectorsconnector-types/connector-type- Connector type definitionsorganizations/organization- Organizationsaccounts/account- Projects/accountsusers/user- Usersfleets/fleet- Agent fleets
Examples:
Important Notes:
Upsert Behavior:
applywill create new resources if they don't exist, or update existing resources if they doIdempotent: You can safely run
applymultiple times on the same resourcesFile Format: Resources must be specified in YAML format
Resource Identification: Resources are identified by their
namefield in the YAML
delete
deleteDelete 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:
agentagent-typeagent-versionconfigurationsourcesource-typeprocessorprocessor-typeconnectorconnector-typedestinationdestination-typeextensionextension-typerecommendation-typeprojectuserrecordingfleetorganization
Examples:
copy
copyMake a copy of a resource.
Aliases: cp
Examples:
Agent Version Management
update
updateUpdate existing agents.
Aliases: upgrade
Flags:
--version: Version of the agent to install (default: "latest")
Examples:
sync
syncSynchronize 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
uploadUpload offline agent upgrade packages.
Examples:
Agent Configuration Management
rollout
rolloutManage configuration rollouts.
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
createCreate new projects or organizations.
Examples:
add
addAdd users to Bindplane.
Flags:
--email: Email address of the user--name: Username--create: Create the user if necessary
Examples:
System Administration
admin
adminAdministrator commands for database maintenance.
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
migratePerform database migrations.
Flags:
version: Specific version to migrate to-y, --accept: Automatically accept the prompt
Examples:
secret
secretManage secret keys for the current project.
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
profileManage Bindplane CLI profiles.
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
labelManage 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
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
Use profiles to manage different environments (dev, staging, production)
Use selectors and queries to filter resources efficiently
Export configurations before making changes:
bindplane get configuration <name> --export > backup.yamlUse rollouts for safe configuration deployments
Check resource status before deleting:
bindplane get <resource-type> <name>Use the
--forceflag 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?