The configuration parameters of Elasticsearch are defined in the corresponding sections of the Reclass model.
To configure Elasticsearch:
Log in to the Salt Master node.
Configure the parameters:elasticsearch
section in the
classes/cluster/<cluster_name>/stacklight/log.yml
file of the
Reclass model as required. For example, to limit the heap size, specify the
following snippet:
parameters:
elasticsearch:
server:
heap:
size: 31
Apply the Salt state:
salt -C 'I@elasticsearch:server' state.sls elasticsearch
For configuration examples, see the README.rst at Elasticsearch Salt formula.