123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211 |
- {
- "about": {
- "trial": true,
- "author": {
- "name": "EMQ",
- "email": "contact@emqx.io",
- "company": "EMQ Technologies Co., Ltd",
- "website": "https://www.emqx.io"
- },
- "helpUrl": {
- "en_US": "https://github.com/lf-edge/ekuiper/blob/master/docs/en_US/rules/sinks/plugin/tdengine.md",
- "zh_CN": "https://github.com/lf-edge/ekuiper/blob/master/docs/zh_CN/rules/sinks/plugin/tdengine.md"
- },
- "description": {
- "en_US": "This a sink plugin for TDengine, it can be used for saving the analysis data into TDengine.",
- "zh_CN": "本插件为 TDengine 的持久化插件,可以用于将分析数据存入 TDengine 中"
- }
- },
- "libs": [
- ],
- "properties": [
- {
- "name": "host",
- "default": "127.0.0.1",
- "optional": false,
- "control": "text",
- "type": "string",
- "hint": {
- "en_US": "Address of Taosdb, must be a host",
- "zh_CN": "Taosdb 地址,必须为域名"
- },
- "label": {
- "en_US": "Database address",
- "zh_CN": "数据库地址"
- }
- },
- {
- "name": "port",
- "default": 6030,
- "optional": false,
- "control": "text",
- "type": "int",
- "hint": {
- "en_US": "Database port",
- "zh_CN": "数据库端口号"
- },
- "label": {
- "en_US": "Port",
- "zh_CN": "端口号"
- }
- },
- {
- "name": "user",
- "default": "root",
- "optional": false,
- "control": "text",
- "type": "string",
- "hint": {
- "en_US": "Username",
- "zh_CN": "用户名"
- },
- "label": {
- "en_US": "Username",
- "zh_CN": "用户名"
- }
- },
- {
- "name": "password",
- "default": "taosdata",
- "optional": false,
- "control": "text",
- "type": "string",
- "hint": {
- "en_US": "Password of Taosdb",
- "zh_CN": "数据库密码"
- },
- "label": {
- "en_US": "Password",
- "zh_CN": "密码"
- }
- },
- {
- "name": "database",
- "default": "",
- "optional": false,
- "control": "text",
- "type": "string",
- "hint": {
- "en_US": "Database name",
- "zh_CN": "库名称"
- },
- "label": {
- "en_US": "Database name",
- "zh_CN": "库名称"
- }
- },
- {
- "name": "table",
- "default": "",
- "optional": false,
- "control": "text",
- "type": "string",
- "hint": {
- "en_US": "Table name",
- "zh_CN": "表名"
- },
- "label": {
- "en_US": "Table name",
- "zh_CN": "表名"
- }
- },
- {
- "name": "fields",
- "default": [],
- "optional": true,
- "control": "list",
- "type": "list_string",
- "hint": {
- "en_US": "Field of table",
- "zh_CN": "表字段"
- },
- "label": {
- "en_US": "Table field",
- "zh_CN": "表字段"
- }
- },
- {
- "name": "provideTs",
- "default": false,
- "optional": false,
- "control": "radio",
- "type": "bool",
- "hint": {
- "en_US": "Whether to provide a timestamp",
- "zh_CN": "是否提供时间戳"
- },
- "label": {
- "en_US": "Whether to provide a timestamp",
- "zh_CN": "是否提供时间戳"
- }
- },
- {
- "name": "tsFieldName",
- "default": "",
- "optional": false,
- "control": "text",
- "type": "string",
- "hint": {
- "en_US": "Timestamp field name",
- "zh_CN": "时间戳字段名"
- },
- "label": {
- "en_US": "Timestamp field name",
- "zh_CN": "时间戳字段名"
- }
- },
- {
- "name": "sTable",
- "default": "",
- "optional": true,
- "control": "text",
- "type": "string",
- "hint": {
- "en_US": "Super Table name",
- "zh_CN": "超级表名"
- },
- "label": {
- "en_US": "Super Table name",
- "zh_CN": "超级表名"
- }
- },
- {
- "name": "tableDataField",
- "default": "",
- "optional": true,
- "control": "text",
- "type": "string",
- "hint": {
- "en_US": "table Data from Stream Field",
- "zh_CN": "表数据来源"
- },
- "label": {
- "en_US": "Table Data from Stream Field",
- "zh_CN": "表数据来源"
- }
- },
- {
- "name": "tagFields",
- "default": [],
- "optional": true,
- "control": "list",
- "type": "list_string",
- "hint": {
- "en_US": "Fields for tags",
- "zh_CN": "标签字段"
- },
- "label": {
- "en_US": "Tags fields",
- "zh_CN": "标签字段"
- }
- }
- ],
- "node": {
- "category": "Sink",
- "icon": "iconPath",
- "label": {
- "en": "Tdengine",
- "zh": "Tdengine"
- }
- }
- }
|