Refactor to more common options for jvm
This commit is contained in:
parent
f80fe56af9
commit
425278923f
2 changed files with 6 additions and 4 deletions
|
|
@ -36,5 +36,5 @@ pid_dir: ''
|
||||||
log_dir: ''
|
log_dir: ''
|
||||||
conf_dir: ''
|
conf_dir: ''
|
||||||
data_dirs: ''
|
data_dirs: ''
|
||||||
# JMX remote monitoring
|
# JVM custom parameters
|
||||||
jmx_remote_monitoring_enabled: true
|
es_jvm_custom_parameters: ''
|
||||||
|
|
|
||||||
|
|
@ -106,6 +106,8 @@
|
||||||
# WARNING: This option will be removed in Elasticsearch 6.0.0 and is provided
|
# WARNING: This option will be removed in Elasticsearch 6.0.0 and is provided
|
||||||
# only for migration purposes.
|
# only for migration purposes.
|
||||||
#-Delasticsearch.json.allow_unquoted_field_names=true
|
#-Delasticsearch.json.allow_unquoted_field_names=true
|
||||||
{% if jmx_remote_monitoring_enabled == true %}
|
{% if es_jvm_custom_parameters !='' %}
|
||||||
-Dcom.sun.management.jmxremote
|
{% for item in es_jvm_custom_parameters %}
|
||||||
|
{{ item }}
|
||||||
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue