Influx-CLI 工具使用
Info
本文简介 influx-cli
的常见使用命令
创建token
使用下面的命令,在已有的组织中,创建一个新的全部权限的 token
(认证使用已有的TOKEN
)。
Bash |
---|
| export ORG=LZWANG
export TOKEN=roTg3mYn0WZ79wlwQxxxxxxx==
influx auth create \
--all-access \
--host http://localhost:8086 \
--org $ORG \
--token $TOKEN
|

创建 bucket
Bash |
---|
| influx bucket create --name test2
|

使用下面的命令查看当前组织中的 bucket
列表

参考