influxdb3 CLI
The influxdb3
CLI runs and interacts with the InfluxDB 3 Core server.
Usage
influxdb3 [GLOBAL-OPTIONS] [COMMAND]
Commands
Command | Description |
---|---|
create | Create resources |
delete | Delete resources |
disable | Disable resources |
enable | Enable resources |
query | Query InfluxDB 3 Core |
serve | Run the InfluxDB 3 Core server |
show | List resources |
test | Test plugins |
update | Update resources |
write | Write to InfluxDB 3 Core |
Global options
Option | Description | |
---|---|---|
-h | --help | Print help information |
--help-all | Print detailed help information including runtime configuration options | |
-V | --version | Print version |
For advanced global configuration options (including --num-io-threads
and other runtime settings), see Configuration options.
Examples
In the examples below, replace
my-host-01
:
with a unique identifier for your InfluxDB 3 Core server.
Run the InfluxDB 3 server
influxdb3 serve \
--object-store file \
--data-dir ~/.influxdb3 \
--node-id my-host-01
Run the InfluxDB 3 server with custom IO threads
influxdb3 --num-io-threads=8 serve \
--object-store file \
--data-dir ~/.influxdb3 \
--node-id my-host-01
Display short-form help for all commands
influxdb3 -h
Display long-form help for all commands
influxdb3 --help
Run the InfluxDB 3 Core server with extra verbose logging
influxdb3 serve \
--object-store file \
--data-dir ~/.influxdb3 \
--node-id my-host-01 \
--verbose
Run InfluxDB 3 Core with debug logging using LOG_FILTER
LOG_FILTER=debug influxdb3 serve \
--object-store file \
--data-dir ~/.influxdb3 \
--node-id my-host-01
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB 3 Core and this documentation. To find support, use the following resources:
Customers with an annual or support contract can contact InfluxData Support.