My elasticsearch.yml is as follows:
This file was automatically generated
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
discovery.zen.minimum_master_nodes: 3
discovery.zen.hosts_provider: ec2
network.host: [“ec2:privateIpv4”, “local”]
cloud.node.auto_attributes: true
cluster.routing.allocation.awareness.attributes: aws_availability_zone
Search Guard settings
xpack.security.enabled: false
searchguard.ssl.transport.pemcert_filepath: ssl/node.pem
searchguard.ssl.transport.pemkey_filepath: ssl/node-key.pem
searchguard.ssl.transport.pemtrustedcas_filepath: ssl/ca.pem
searchguard.ssl.transport.enforce_hostname_verification: false
searchguard.nodes_dn:
searchguard.authcz.admin_dn:
searchguard.ssl.http.enabled: true
searchguard.ssl.http.pemcert_filepath: ssl/http.pem
searchguard.ssl.http.pemkey_filepath: ssl/http-key.pem
searchguard.ssl.http.pemtrustedcas_filepath: ssl/ca.pem
searchguard.restapi.roles_enabled: [“sg_all_access”]
``
···
On Friday, May 18, 2018 at 7:16:22 PM UTC+12, sanjayap sanju wrote:
Hi,
Installed and used enterprise modules, if any - No We are using community module
JVM version and operating system version - 1.8
Elasticsearch 6.2.0
Searchguard is 6.2.2
we installed searchguard for elasticsearch and followed all process, but after executing elasticsearch, it is not starting elasticsearch, giving Not yet initialized [you may need to run sgadmin]
while running sgadmin it is giving NoNodesAvalaible exception error.
error: unable to check whether cluster is sane: none f the configured nodes are available.
Below is the sgadmin command which we are using :
sgadmin.sh -cd ..\sgconfig -key ..\..\..\config\kirk-key.pem -cert ..\..\..\config\kirk.pem -cacert ..\..\..\config\root-ca.pem -nhnv -icl
Any early solution for this will be very helpful.
Thanks in advance:-)