as wylie said you have to enable basic security
here are some steps
here are steps
shutdown everything (logstash/kibane/elasticsearch)
/usr/share/elasticsearch/bin/elasticsearch-certutil cert -out /etc/elasticsearch/config/elastic-certificates.p12 -pass ""
chown -R elasticsearch:elasticsearch /etc/elasticsearch/config
copy this folder config on all your elastic cluster node
add these line to your /etc/elasticsearch/elasticsearch.yml file. on all nodes
start elasticsearch and setup password
setup the password
may be restart your elasticsearch on all node again just to be safe
now on kibana
add following to kibana.yml
elasticsearch.password: "kibana" (if password is different use that)
start kibana - use elastic/password(what ever you have set earlier) to login and you will have this options available.
now for logstash config file you have to use following in output section.
user => elastic
password => elastic