Integrate Elasticsearch and Kibana with Fuel
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

environment_config.yaml 9.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  1. attributes:
  2. retention_period:
  3. value: '30'
  4. label: 'Retention period'
  5. description: 'The number of days after which data is automatically deleted within the Elasticsearch system (0 to never delete data).'
  6. weight: 5
  7. type: "text"
  8. regex: &number_validation
  9. source: '^\d+$'
  10. error: "You must provide a number"
  11. # Parameter hidden in the UI on purpose
  12. # this directory must match the mount point set in volumes.yaml
  13. data_dir:
  14. value: '/opt/es-data'
  15. label: 'Elasticsearch directory'
  16. description: 'Directory used by elasticsearch to store data.'
  17. weight: 15
  18. type: "text"
  19. restrictions:
  20. - condition: "true"
  21. action: hide
  22. jvm_heap_size:
  23. value: '1'
  24. label: 'JVM heap size'
  25. description: 'in GB (between 1 and 32). The amount of memory reserved for the JVM.'
  26. weight: 16
  27. type: "text"
  28. regex:
  29. source: '^([1-9]|[12][0-9]|3[0-2])$'
  30. error: 'Enter a value between 1 and 32'
  31. kibana_username:
  32. value: 'lma'
  33. label: 'User name'
  34. description: 'The username to access Kibana.'
  35. weight: 17
  36. type: "text"
  37. regex:
  38. source: '\S'
  39. error: "You must provide a username."
  40. kibana_password:
  41. value:
  42. generator: 'password'
  43. label: 'User password'
  44. description: 'The password to access Kibana.'
  45. weight: 18
  46. type: "password"
  47. regex:
  48. source: '^[\S]{4,}$'
  49. error: "You must provide a password with at least 4 characters"
  50. advanced_settings:
  51. label: "Advanced settings"
  52. value: false
  53. description: "The plugin determines the best settings if not set"
  54. weight: 19
  55. type: checkbox
  56. number_of_replicas:
  57. value: ''
  58. label: 'Number of replicas'
  59. description: "The number of replicas must be less than the total number of Elasticsearch nodes (total number of Elasticsearch nodes - 1 by default)."
  60. weight: 20
  61. type: "text"
  62. regex:
  63. source: '^\d?$'
  64. error: "You must provide either a number or leave it empty"
  65. restrictions:
  66. - condition: "settings:elasticsearch_kibana.advanced_settings.value == false"
  67. action: hide
  68. minimum_master_nodes:
  69. value: ''
  70. label: 'Minimum number of master eligible nodes'
  71. description: 'This must be less than or equal to the total number of Elasticsearch nodes (total number of Elasticsearch nodes / 2 + 1 by default).'
  72. weight: 21
  73. type: "text"
  74. regex:
  75. source: '^\d?$'
  76. error: "You must provide either a number or leave it empty"
  77. restrictions:
  78. - condition: "settings:elasticsearch_kibana.advanced_settings.value == false"
  79. action: hide
  80. recover_after_nodes:
  81. value: ''
  82. label: 'Recover after nodes'
  83. description: "The number of nodes to wait before starting a recovery action following a cluster restart. This must be less than or equal to the total number of nodes in the cluster (2/3 of the total number of nodes by default)."
  84. weight: 22
  85. type: "text"
  86. regex:
  87. source: '^\d?$'
  88. error: "You must provide either a number or leave it empty"
  89. restrictions:
  90. - condition: "settings:elasticsearch_kibana.advanced_settings.value == false"
  91. action: hide
  92. recover_after_time:
  93. value: '5'
  94. label: 'Recover after time'
  95. description: 'The number of minutes the cluster should wait before starting a recovery action following a cluster restart.'
  96. weight: 23
  97. type: "text"
  98. regex:
  99. source: '^\d+$'
  100. error: "You must provide a number"
  101. restrictions:
  102. - condition: "settings:elasticsearch_kibana.advanced_settings.value == false"
  103. action: hide
  104. # TLS Settings: BEGIN
  105. tls_enabled:
  106. value: false
  107. label: 'Enable TLS for Kibana'
  108. description: ''
  109. weight: 30
  110. type: "checkbox"
  111. kibana_hostname:
  112. value: 'kibana.fuel.local'
  113. label: 'DNS hostname for Kibana'
  114. description: 'Your DNS entries should point to this name.'
  115. weight: 40
  116. type: "text"
  117. restrictions:
  118. - condition: "settings:elasticsearch_kibana.tls_enabled.value == false"
  119. action: "hide"
  120. kibana_ssl_cert:
  121. value: ''
  122. label: 'Certificate for Kibana'
  123. description: 'Certificate and private key data, concatenated into a single file.'
  124. weight: 50
  125. type: "file"
  126. restrictions:
  127. - condition: "settings:elasticsearch_kibana.tls_enabled.value == false"
  128. action: "hide"
  129. # TLS Settings: END
  130. # LDAP Settings: BEGIN
  131. ldap_enabled:
  132. value: false
  133. label: 'Use LDAP for Kibana authentication'
  134. description: ''
  135. weight: 100
  136. type: "checkbox"
  137. ldap_protocol_for_kibana:
  138. type: "radio"
  139. value: 'ldap'
  140. weight: 110
  141. label: 'LDAP protocol'
  142. values:
  143. - data: "ldap"
  144. label: "LDAP"
  145. - data: "ldaps"
  146. label: "LDAPS"
  147. restrictions:
  148. - condition: "settings:elasticsearch_kibana.ldap_enabled.value == false"
  149. action: hide
  150. ldap_servers:
  151. value: ''
  152. label: 'LDAP servers'
  153. description: 'Specify one or several LDAP servers separated by space.'
  154. weight: 120
  155. type: "text"
  156. regex:
  157. source: '^\w[\w\-\s.]+$'
  158. error: "You must provide a hostname or IP"
  159. restrictions:
  160. - condition: "settings:elasticsearch_kibana.ldap_enabled.value == false"
  161. action: hide
  162. - condition: "settings:elasticsearch_kibana.ldap_enabled.value == false"
  163. action: disable
  164. ldap_server_port:
  165. value: ''
  166. label: 'Port'
  167. description: 'If empty, the default value is 389 for LDAP and 636 for LDAPS.'
  168. weight: 130
  169. type: "text"
  170. regex:
  171. source: '^\d{0,5}$'
  172. error: "You must provide a valid port number"
  173. restrictions:
  174. - condition: "settings:elasticsearch_kibana.ldap_enabled.value == false"
  175. action: hide
  176. - condition: "settings:elasticsearch_kibana.ldap_enabled.value == false"
  177. action: disable
  178. ldap_bind_dn:
  179. value: ''
  180. label: 'Bind DN'
  181. description: 'DN used to bind to the server when searching for entries.'
  182. weight: 140
  183. type: "text"
  184. regex: &not_empty_parameter
  185. source: '\S'
  186. error: "Invalid value"
  187. restrictions:
  188. - condition: "settings:elasticsearch_kibana.ldap_enabled.value == false"
  189. action: hide
  190. - condition: "settings:elasticsearch_kibana.ldap_enabled.value == false"
  191. action: disable
  192. ldap_bind_password:
  193. value: ''
  194. label: 'Bind password'
  195. description: 'Password to use in conjunction with the bind DN.'
  196. weight: 150
  197. type: "password"
  198. regex: *not_empty_parameter
  199. restrictions:
  200. - condition: "settings:elasticsearch_kibana.ldap_enabled.value == false"
  201. action: hide
  202. - condition: "settings:elasticsearch_kibana.ldap_enabled.value == false"
  203. action: disable
  204. ldap_user_search_base_dns:
  205. value: ''
  206. label: 'User search base DN'
  207. description: 'The base DN to search for users.'
  208. weight: 160
  209. type: "text"
  210. regex: *not_empty_parameter
  211. restrictions:
  212. - condition: "settings:elasticsearch_kibana.ldap_enabled.value == false"
  213. action: hide
  214. - condition: "settings:elasticsearch_kibana.ldap_enabled.value == false"
  215. action: disable
  216. ldap_user_attribute:
  217. value: 'uid'
  218. label: 'User search attribute'
  219. description: 'The attribute to search for.'
  220. weight: 165
  221. type: "text"
  222. regex: *not_empty_parameter
  223. restrictions:
  224. - condition: "settings:elasticsearch_kibana.ldap_enabled.value == false"
  225. action: hide
  226. - condition: "settings:elasticsearch_kibana.ldap_enabled.value == false"
  227. action: disable
  228. ldap_user_search_filter:
  229. value: '(objectClass=*)'
  230. label: 'User search filter'
  231. description: 'A valid LDAP search filter.'
  232. weight: 170
  233. type: "text"
  234. regex: *not_empty_parameter
  235. restrictions:
  236. - condition: "settings:elasticsearch_kibana.ldap_enabled.value == false"
  237. action: hide
  238. - condition: "settings:elasticsearch_kibana.ldap_enabled.value == false"
  239. action: disable
  240. ldap_authorization_enabled:
  241. value: false
  242. label: 'Enable group-based authorization'
  243. description: 'It allows to associate users with the Admin or Viewer role. Otherwise all users are assigned to Admin role by default.'
  244. weight: 200
  245. type: "checkbox"
  246. restrictions:
  247. - condition: "settings:elasticsearch_kibana.ldap_enabled.value == false"
  248. action: hide
  249. ldap_group_attribute:
  250. value: 'memberUid'
  251. label: 'LDAP group attribute'
  252. description: 'LDAP attribute used to identify the user members of groups.'
  253. weight: 205
  254. type: "text"
  255. regex: *not_empty_parameter
  256. restrictions:
  257. - condition: "settings:elasticsearch_kibana.ldap_enabled.value == false"
  258. action: hide
  259. - condition: "settings:elasticsearch_kibana.ldap_enabled.value == false"
  260. action: disable
  261. - condition: "settings:elasticsearch_kibana.ldap_authorization_enabled.value == false"
  262. action: disable
  263. ldap_admin_group_dn:
  264. value: ''
  265. label: 'Group DN mapping to the Admin role'
  266. description: ''
  267. weight: 210
  268. type: "text"
  269. regex: *not_empty_parameter
  270. restrictions:
  271. - condition: "settings:elasticsearch_kibana.ldap_enabled.value == false"
  272. action: hide
  273. - condition: "settings:elasticsearch_kibana.ldap_enabled.value == false"
  274. action: disable
  275. - condition: "settings:elasticsearch_kibana.ldap_authorization_enabled.value == false"
  276. action: disable
  277. ldap_viewer_group_dn:
  278. value: ''
  279. label: 'Group DN mapping to the Viewer role'
  280. description: ''
  281. weight: 220
  282. type: "text"
  283. regex: *not_empty_parameter
  284. restrictions:
  285. - condition: "settings:elasticsearch_kibana.ldap_enabled.value == false"
  286. action: hide
  287. - condition: "settings:elasticsearch_kibana.ldap_enabled.value == false"
  288. action: disable
  289. - condition: "settings:elasticsearch_kibana.ldap_authorization_enabled.value == false"
  290. action: disable
  291. # LDAP Settings: END