Managing configuration files
The configuration file changes are the most basic yet important to make from a production deployment perspective. Let's have a look at the configuration files of various components.
Elasticsearch - elasticsearch.yml
By default, Elasticsearch sets values for important properties such as cluster, node related like cluster name, node name, and so on. While it's not necessary to set, it's a good idea to customize the names. For example, we should specify the node names so that we can remember and keep track of the node statistics by the node name that we specified. Few of such properties are explained below:
- Change the name of the cluster by modifying the following property:
# cluster.name: my-application cluster.name: production-elasticstack
- Change the name of the node to easily identify the nodes joining in the cluster by modifying the following property:
# node.name: node-1 node.name: elasticstack1
- Change the location of...