Before starting the Elasticsearch service, we need to define several parameters that control how Elasticsearch behaves. The configuration file is in the YAML format and is located on /etc/elasticsearch/elasticsearch.yml. Let's explore which main parameters need to be changed.
Configuring Elasticsearch
Elasticsearch YAML
The central control for Elasticsearch is done through the /etc/elasticsearch/elasticsearch.yml file, which is in the YAML format. The default configuration file is reasonably well-documented and explains what each parameter controls, but there are some entries that should be changed as part of the configuration process.
The main parameters to look for are as follows:
- Cluster name
- Discovery settings
- Node...