influx.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. {
  2. "about": {
  3. "trial": true,
  4. "author": {
  5. "name": "Yongxing Ma",
  6. "email": "",
  7. "company": "",
  8. "website": ""
  9. },
  10. "helpUrl": {
  11. "en_US": "https://github.com/lf-edge/ekuiper/blob/master/docs/en_US/rules/sinks/plugin/influxdb.md",
  12. "zh_CN": "https://github.com/lf-edge/ekuiper/blob/master/docs/zh_CN/rules/sinks/plugin/influxdb.md"
  13. },
  14. "description": {
  15. "en_US": "This a sink plugin for InfluxDB, it can be used for saving the analysis data into InfluxDB.",
  16. "zh_CN": "本插件为 InfluxDB 的持久化插件,可以用于将分析数据存入 InfluxDB 中"
  17. }
  18. },
  19. "libs": [
  20. "github.com/influxdata/influxdb1-client/v2@master"
  21. ],
  22. "properties": [{
  23. "name": "addr",
  24. "default": "http://192.168.100.245:8086",
  25. "optional": true,
  26. "control": "text",
  27. "type": "string",
  28. "hint": {
  29. "en_US": "The addr of the InfluxDB",
  30. "zh_CN": "InfluxDB的地址"
  31. },
  32. "label": {
  33. "en_US": "Addr",
  34. "zh_CN": "地址"
  35. }
  36. }, {
  37. "name": "measurement",
  38. "default": "test",
  39. "optional": true,
  40. "control": "text",
  41. "type": "string",
  42. "hint": {
  43. "en_US": "The measurement of the InfluxDb",
  44. "zh_CN": "InfluxDb的测量"
  45. },
  46. "label": {
  47. "en_US": "Measurement",
  48. "zh_CN": "测量"
  49. }
  50. }, {
  51. "name": "username",
  52. "default": "",
  53. "optional": false,
  54. "control": "text",
  55. "type": "string",
  56. "hint": {
  57. "en_US": "The InfluxDB login username",
  58. "zh_CN": "InfluxDB登陆用户名"
  59. },
  60. "label": {
  61. "en_US": "Username",
  62. "zh_CN": "用户名"
  63. }
  64. }, {
  65. "name": "password",
  66. "default": "",
  67. "optional": false,
  68. "control": "text",
  69. "type": "string",
  70. "hint": {
  71. "en_US": "The InfluxDB login password",
  72. "zh_CN": "InfluxDB 登陆密码"
  73. },
  74. "label": {
  75. "en_US": "Password",
  76. "zh_CN": "密码"
  77. }
  78. }, {
  79. "name": "databasename",
  80. "default": "db",
  81. "optional": true,
  82. "control": "text",
  83. "type": "string",
  84. "hint": {
  85. "en_US": "The database of the InfluxDB",
  86. "zh_CN": "InfluxDB 的数据库"
  87. },
  88. "label": {
  89. "en_US": "DBbase name",
  90. "zh_CN": "数据库名"
  91. }
  92. }, {
  93. "name": "tagkey",
  94. "default": "tagkey",
  95. "optional": true,
  96. "control": "text",
  97. "type": "string",
  98. "hint": {
  99. "en_US": "The tag key of the InfluxDB",
  100. "zh_CN": "InfluxDB 的标签键"
  101. },
  102. "label": {
  103. "en_US": "Tag",
  104. "zh_CN": "标签键"
  105. }
  106. }, {
  107. "name": "tagvalue",
  108. "default": "tagvalue",
  109. "optional": true,
  110. "control": "text",
  111. "type": "string",
  112. "hint": {
  113. "en_US": "The tag value of the InfluxDB",
  114. "zh_CN": "InfluxDB 的标签值"
  115. },
  116. "label": {
  117. "en_US": "Tag value",
  118. "zh_CN": "标签值"
  119. }
  120. }, {
  121. "name": "fields",
  122. "default": "humidity,temperature,pressure",
  123. "optional": true,
  124. "control": "text",
  125. "type": "string",
  126. "hint": {
  127. "en_US": "The column of the InfluxDB",
  128. "zh_CN": "InfluxDB 的列名"
  129. },
  130. "label": {
  131. "en_US": "Column",
  132. "zh_CN": "列名"
  133. }
  134. }]
  135. }