influxctl table rename
The influxctl table rename
command renames a table in the specified database in
an InfluxDB cluster.
Usage
influxctl table rename [flags] <DATABASE_NAME> <CURRENT_TABLE_NAME> <NEW_TABLE_NAME>
Arguments
Argument | Description |
---|---|
DATABASE_NAME | Name of the database the table is in |
CURRENT_TABLE_NAME | Current name of the table |
NEW_TABLE_NAME | New name for the table |
Flags
Flag | Description | |
---|---|---|
--format | Output format (table (default) or json ) | |
-h | --help | Output command help |
Also see influxctl
global flags.
Examples
# Rename the "example-tb" table to "example_tb"
influxctl table rename mydb example-tb example_tb
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 Clustered and this documentation. To find support, use the following resources:
Customers with an annual or support contract can contact InfluxData Support.