18 lines
566 B
YAML
18 lines
566 B
YAML
% if node.metadata.get('elasticsearch/cluster-name', None):
|
|
cluster.name: ${node.metadata.get('elasticsearch/cluster-name')}
|
|
% endif
|
|
node.name: ${node.name}
|
|
path.data: /var/lib/elasticsearch
|
|
path.logs: /var/log/elasticsearch
|
|
bootstrap.memory_lock: true
|
|
|
|
|
|
# By default Elasticsearch is only accessible on localhost. Set a different
|
|
# address here to expose this node on the network:
|
|
#
|
|
#network.host: 192.168.0.1
|
|
#
|
|
# By default Elasticsearch listens for HTTP traffic on the first free port it
|
|
# finds starting at 9200. Set a specific HTTP port here:
|
|
#
|
|
http.port: 9200
|