Installation
- Installer ES
- Modifier /etc/elasticsearch/elasticsearch.yml
#network.host: 192.168.0.1
network.bind_host: 0.0.0.0
#
# Set a custom port for HTTP:
#
#http.port: 9200
#
# for plugin head :
http.cors.enabled: true
http.cors.allow-origin: "*"
http.cors.allow-headers: Authorization
#
- Installer Kibana
- Modifier /etc/kibana/kibana.yml
# To allow connections from remote users, set this parameter to a non-loopback address.
server.host: "0.0.0.0"
- Installer x-pack
- Créer un certificat avec certgen de x-pack
- unzip le fichier .zip ainsi créé
- Modifier /etc/elasticsearch/elasticsearch.yml
xpack.ssl.key: /etc/elasticsearch/x-pack/node1/node1.key
xpack.ssl.certificate: /etc/elasticsearch/x-pack/node1/node1.crt
xpack.ssl.certificate_authorities: /etc/elasticsearch/x-pack/ca/ca.crt
xpack.security.transport.ssl.enabled: true
xpack.security.http.ssl.enabled: true