--------------------------- Security autoconfiguration information ------------------------------
Authentication and authorization are enabled.
TLS for the transport and HTTP layers is enabled and configured.
The generated password for the elastic built-in superuser is : LJGveyix-ey-+bsvdGvC
If this node should join an existing cluster, you can reconfigure this with
'/usr/share/elasticsearch/bin/elasticsearch-reconfigure-node --enrollment-token <token-here>'
after creating an enrollment token on your existing cluster.
You can complete the following actions at any time:
Reset the password of the elastic built-in superuser with
'/usr/share/elasticsearch/bin/elasticsearch-reset-password -u elastic'.
Generate an enrollment token for Kibana instances with
'/usr/share/elasticsearch/bin/elasticsearch-create-enrollment-token -s kibana'.
Generate an enrollment token for Elasticsearch nodes with
'/usr/share/elasticsearch/bin/elasticsearch-create-enrollment-token -s node'.
-------------------------------------------------------------------------------------------------
### NOT starting on installation, please execute the following statements to configure elasticsearch service to start automatically using systemd
sudo systemctl daemon-reload
sudo systemctl enable elasticsearch.service
### You can start elasticsearch service by executing
sudo systemctl start elasticsearch.service
The major locations:
/usr/share/elasticsearch => installation of files is done
/etc/elasticsearch => configuration of elastic search
Elastic search installation configurations are by default configured to be accesible from the same machine (loopback)
Now change the network host with private ip and discovery.seed_hosts with private ip as discussed in the classroom in the file /etc/elasticsearch/elasticsearch.yml. Then execute the below commands
Elastic search works on port 9200 by default
To view the logs of elastic search sudo journalctl --unit elasticsearch
Elastic search 8+ is secure by default access by https://<publicip>:9200 and enter credentials