Encrypt / secure Elasticsearch's password in logstash.conf file

You could always put the password as an environment variable, see
https://www.elastic.co/guide/en/logstash/6.1/environment-variables.html