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
Help
Get help for any command:
Version Information
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 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
Apply resources from files or stdin.
Flags:
-f, --file
: Path(s) to YAML file(s) specifying resources
Examples:
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
- 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.yaml
- Use rollouts for safe configuration deployments
- Check resource status before deleting:
bindplane get <resource-type> <name>
- 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.