# Watermark Settings in the yml file

**URL:** <https://discuss.elastic.co/t/watermark-settings-in-the-yml-file/108611>\
**Category:** Elasticsearch\
**Created:** [November 21, 2017, 7:50pm UTC](https://discuss.elastic.co/t/watermark-settings-in-the-yml-file/108611 "2017-11-21T19:50:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sleepyj222](https://avatars.discourse-cdn.com/v4/letter/s/8dc957/32.png) [@sleepyj222](https://discuss.elastic.co/u/sleepyj222)\
**Post date:** [November 21, 2017, 7:50pm UTC](https://discuss.elastic.co/t/watermark-settings-in-the-yml-file/108611/1 "2017-11-21T19:50:38Z")

</div>

I've changed the watermark settings in the persistent settings by the API successfully, but I'd also like to change them in the elasticsearch.yml configuration file.

The links referenced in the files get me 404s, but this page suggests it can be done without giving examples.  
[https://www.elastic.co/guide/en/elasticsearch/reference/6.0/disk-allocator.html](https://www.elastic.co/guide/en/elasticsearch/reference/6.0/disk-allocator.html)

When attempting to do the settings in a few variations, I can't successfully start the service. The logs aren't helpful in troubleshooting either other than letting me know that there is an exception caused by my added lines in the file.

I've tried using the settings as they're presented here.

> <https://stackoverflow.com/questions/33369955/low-disk-watermark-exceeded-on>

**My lines**  
cluster.routing.allocation.disk.watermark.low: 0.90  
cluster.routing.allocation.disk.watermark.high: 0.95

Any tips I can get?

**Version Info**  
"version": {  
"number": "2.4.6",  
"build\_hash": "5376dca9f70f3abef96a77f4bb22720ace8240fd",  
"build\_timestamp": "2017-07-18T12:17:44Z",  
"build\_snapshot": false,  
"lucene\_version": "5.5.4"  
},

Thanks,

Jim

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 19, 2017, 7:51pm UTC](https://discuss.elastic.co/t/watermark-settings-in-the-yml-file/108611/2 "2017-12-19T19:51:27Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
