The configuration file contains settings specific to a single node. Each node in the cluster has to be configured independently. The configuration files are located in the config directory. Config directory will have the following files:
- elasticsearch.yml: This is the Elasticsearch configuration file. It is divided into cluster, node, paths, memory, and so on. Each section contains the defaults, which can be edited.
- log4j2.properties: This is the logging configuration.
- jvm.options: This is the configuration file to set the JVM settings, such as heap size and so on. If you installed Elasticsearch using a DEB/RPM package, you should configure the environment variables, such as heap size, in /etc/sysconfig/elasticsearch