I realized the reason I did not have access to logs (and the BootstrapChecks, etc.), is because I've been working with a different install of Elasticsearch 5.6.10 so that I can run it as a service.
I now actually installed via the Installation example with tar like I said earlier and I can see that the BootstrapChecks are enabled (after I change the value of
network.host) and I am running into two errors which are shutting down ES.
ERROR:  bootstrap checks failed
: max file descriptors  for elasticsearch process is too low, increase to at least 
: max number of threads  for user [ec2-user] is too low, increase to
at least 
I (eventually) want this working using
systemd, so I want to follow this Systemd configuration but I am not exactly sure what the correct syntax is to set
nofile from Systemd configuration:
nproc from Number of threads:
The package distributions when run as services under systemd will configure the number of threads for the Elasticsearch process automatically. No additional configuration is required.
So it looks like all I need to do is set
LimitMEMLOCK and my service installation of ES should be good to go, but I am still unable to connect from an external server, even with having tested different values for
Rather than further trying to get the service to work, I also made the changes to
/etc/security/limits.conf as follows (so that I can get the Installation example with tar to work), but ES is still shutting down due to the same errors (formatting is off here, ignore different spacing between lines):
root - nofile 65536
ec2-user - nofile 65536
root - nproc 4096
ec2-user - nproc 4096
What else can I troubleshoot to get either version of my installation to work?