My local stack ELK setup
# Take into account the parameter now
sudo sysctl -w vm.max_map_count=262144
# Set it for the next reboot
echo "vm.max_map_count=262144" | sudo tee -a /etc/sysctl.conf >/dev/null
Kibana: http://localhost:5601 Elasticsearch: http://localhost:9200 Credentials: admin/admin