X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/6437f10211bb33702e7bed9295e66777168e5330..71cb947e883b1a351af66835688c971a7f385102:/cookbooks/elasticsearch/templates/default/elasticsearch.yml.erb?ds=sidebyside diff --git a/cookbooks/elasticsearch/templates/default/elasticsearch.yml.erb b/cookbooks/elasticsearch/templates/default/elasticsearch.yml.erb index ea04ea99a..d32ce2bfc 100644 --- a/cookbooks/elasticsearch/templates/default/elasticsearch.yml.erb +++ b/cookbooks/elasticsearch/templates/default/elasticsearch.yml.erb @@ -3,8 +3,9 @@ cluster.name: <%= node[:elasticsearch][:cluster][:name] %> cluster.routing.allocation.disk.watermark.low: <%= node[:elasticsearch][:cluster][:routing][:allocation][:disk][:watermark][:low] %> cluster.routing.allocation.disk.watermark.high: <%= node[:elasticsearch][:cluster][:routing][:allocation][:disk][:watermark][:high] %> +<% if node[:elasticsearch][:version] >= "6" -%> +cluster.routing.allocation.disk.watermark.flood_stage: <%= node[:elasticsearch][:cluster][:routing][:allocation][:disk][:watermark][:flood_stage] %> +<% end -%> network.host: 127.0.0.1 path.data: <%= node[:elasticsearch][:path][:data] %> -<% if node[:elasticsearch][:script][:disable_dynamic] -%> -script.disable_dynamic: <%= node[:elasticsearch][:script][:disable_dynamic] -%> -<% end -%> +path.logs: /var/log/elasticsearch