I am new to Elasticsearch and setting it up with an install.sh
script. I am going through the documentation and can see that for docker installation, one can specify a password for the elastic
user in the docker-compose file with something like:
environment:
- ELASTIC_PASSWORD=$ELASTIC_PASSWORD
I am not deploying on docker. I am deploying on an ec2 instance using a script. How can I achieve this? I want to be able to specify a password for the elastic and kibana user.
Also, while sending logs from logstash to elasticsearch
as output, which username and password would I have to specify in my logstash configuration?
The created logstash username and password, or the elastic
user username and password?