Tuesday, 17 May 2016

How to configure Elasticsearch ?


Modify the configuration file - elasticsearch.yml

Go to installation location of elasticsearch
cd /home/ELK/elasticsearch-2.3.2/config/
vim elasticsearch.yml

Modify these highlighted values in open file : 
cluster.name: my-application
node.name: node-1
bootstrap.mlockall: true
network.host: 10.170.208.53


Note : Localhost might not work if it is not available in /etc/hosts
In that case you can assign complete IP address of VM.

So, ensure to have localhost entry :
#127.0.0.1   localhost localhost.localdomain localhost4
10.170.208.53 localhost
10.170.208.53 test localhost

No comments:

Post a Comment

Note: only a member of this blog may post a comment.