Documentation

influx 配置

influx config 命令显示活动的 InfluxDB 连接配置,并管理多个默认存储在 ~/.influxdbv2/configs 中的连接配置。每个连接包括一个 URL、token、相关组织和活动设置。InfluxDB 从活动连接配置中读取 token,因此您不必手动输入 token 以登录 InfluxDB。

用法

influx config [flags]
influx config [command]
influx config <config-name>
快速切换配置
# Syntax
influx config <config-name>

# Example
influx config local-config

要快速切换回之前的配置,请使用以下命令:

influx config -

示例

# Show the active connection configuration
influx config

# Set a connection configuration as active
influx config local-config

子命令

子命令描述
create创建连接配置
list列出连接配置
delete删除连接配置
set设置或更新连接配置

标志

标志描述
-h--help用于config命令的帮助信息


Flux的未来

Flux 正在进入维护模式。您可以像现在一样继续使用它,而无需对您的代码进行任何更改。

阅读更多

InfluxDB 3 开源版本现已公开Alpha测试

InfluxDB 3 Open Source is now available for alpha testing, licensed under MIT or Apache 2 licensing.

我们将发布两个产品作为测试版的一部分。

InfluxDB 3 核心,是我们新的开源产品。 它是一个用于时间序列和事件数据的实时数据引擎。 InfluxDB 3 企业版是建立在核心基础之上的商业版本,增加了历史查询能力、读取副本、高可用性、可扩展性和细粒度安全性。

有关如何开始的更多信息,请查看:

由TSM驱动的InfluxDB Cloud