Influx服务器配置
该 influx server-config 命令显示 InfluxDB 运行时 服务器配置。
要显示服务器配置,您必须使用一个 operator token。
用法
influx server-config [flags]
influx server-config [command]
示例
# Show the server configuration.
influx server-config
# Show the server configuration as YAML.
influx server-config --yaml
标志
| 标志 | 描述 | |
|---|---|---|
-c | --active-config | 用于命令的CLI配置 |
--configs-path | 指向 influx CLI 配置的路径(默认 ~/.influxdbv2/configs) | |
-h | --help | 关于list命令的帮助 |
--hide-headers | 隐藏表格标题(默认 false) | |
--host | InfluxDB 的 HTTP 地址(默认 http://localhost:8086) | |
--http-debug | 检查与InfluxDB服务器的通信 | |
-i | --id | 组织 ID |
--json | 以JSON格式输出数据(默认 false) | |
-n | --name | 组织名称 |
--skip-verify | 跳过 TLS 证书验证 | |
-t | --token | API令牌 |
--toml | 以TOML格式而不是JSON格式输出配置 | |
--yaml | 将输出配置作为YAML而不是JSON |