88 lines
2.9 KiB
Plaintext
88 lines
2.9 KiB
Plaintext
emqx_ee_bridge_influxdb {
|
||
local_topic {
|
||
desc {
|
||
en: """The MQTT topic filter to be forwarded to the InfluxDB. All MQTT 'PUBLISH' messages with the topic
|
||
matching the local_topic will be forwarded.</br>
|
||
NOTE: if this bridge is used as the action of a rule (EMQX rule engine), and also local_topic is
|
||
configured, then both the data got from the rule and the MQTT messages that match local_topic
|
||
will be forwarded.
|
||
"""
|
||
zh: """发送到 'local_topic' 的消息都会转发到 InfluxDB。 </br>
|
||
注意:如果这个 Bridge 被用作规则(EMQX 规则引擎)的输出,同时也配置了 'local_topic' ,那么这两部分的消息都会被转发到 InfluxDB。
|
||
"""
|
||
}
|
||
label {
|
||
en: "Local Topic"
|
||
zh: "本地 Topic"
|
||
}
|
||
}
|
||
write_syntax {
|
||
desc {
|
||
en: """Conf of InfluxDB line protocol to write data points. It is a text-based format that provides the measurement, tag set, field set, and timestamp of a data point, and placeholder supported.
|
||
See also [InfluxDB 2.3 Line Protocol](https://docs.influxdata.com/influxdb/v2.3/reference/syntax/line-protocol/) and
|
||
[InfluxDB 1.8 Line Protocol](https://docs.influxdata.com/influxdb/v1.8/write_protocols/line_protocol_tutorial/) </br>
|
||
TLDR:</br>
|
||
```
|
||
<measurement>[,<tag_key>=<tag_value>[,<tag_key>=<tag_value>]] <field_key>=<field_value>[,<field_key>=<field_value>] [<timestamp>]
|
||
```
|
||
"""
|
||
zh: """使用 InfluxDB API Line Protocol 写入 InfluxDB 的数据,支持占位符</br>
|
||
参考 [InfluxDB 2.3 Line Protocol](https://docs.influxdata.com/influxdb/v2.3/reference/syntax/line-protocol/) 及
|
||
[InfluxDB 1.8 Line Protocol](https://docs.influxdata.com/influxdb/v1.8/write_protocols/line_protocol_tutorial/) </br>
|
||
TLDR: </br>
|
||
```
|
||
<measurement>[,<tag_key>=<tag_value>[,<tag_key>=<tag_value>]] <field_key>=<field_value>[,<field_key>=<field_value>] [<timestamp>]
|
||
```
|
||
"""
|
||
}
|
||
label {
|
||
en: "Write Syntax"
|
||
zh: "写语句"
|
||
}
|
||
}
|
||
config_enable {
|
||
desc {
|
||
en: """Enable or disable this bridge."""
|
||
zh: """启用/禁用桥接。"""
|
||
}
|
||
label {
|
||
en: "Enable Or Disable Bridge"
|
||
zh: "启用/禁用桥接"
|
||
}
|
||
}
|
||
|
||
desc_config {
|
||
desc {
|
||
en: """Configuration for an InfluxDB bridge."""
|
||
zh: """InfluxDB 桥接配置。"""
|
||
}
|
||
label: {
|
||
en: "InfluxDB Bridge Configuration"
|
||
zh: "InfluxDB 桥接配置"
|
||
}
|
||
}
|
||
|
||
desc_type {
|
||
desc {
|
||
en: """The Bridge Type."""
|
||
zh: """桥接类型。"""
|
||
}
|
||
label {
|
||
en: "Bridge Type"
|
||
zh: "桥接类型"
|
||
}
|
||
}
|
||
|
||
desc_name {
|
||
desc {
|
||
en: """Bridge name."""
|
||
zh: """桥接名称。"""
|
||
}
|
||
label {
|
||
en: "Bridge Name"
|
||
zh: "桥接名称"
|
||
}
|
||
}
|
||
|
||
}
|