Configuring an Elasticsearch cluster

This section will cover some basic Elasticsearch configuration in addition to a few changes that will positively impact your cluster's performance.

Most Elasticsearch configuration changes will be applied to elasticsearch.yml. For our installation of Elasticsearch on Ubuntu, this file is located at /etc/elasticsearch/elasticsearch.yml. Elasticsearch internal configuration changes are applied to elasticsearch.yml. Environmental variables can be set in the application's startup script. For our installation of Elasticsearch 2.3.2 on Ubuntu, these files are in the following locations:

  • Internal Configuration is located at

    /etc/elasticsearch/ elasticsearch.yml

  • Environmental Variable Configuration is located at

Get Monitoring Elasticsearch now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.