Go here for the installation guide
git clone https://github.com/yasiryagi/elasticsearch-docker.git
cd elasticsearch-docker
#set up data folders
mkdir ./kibana/data
chown -R 1000:1000 ./kibana/data
chmod -R 777 ./kibana/data
mkdir ./elasticsearch/data/
chown -R 1000:1000 ./elasticsearch/data/
chmod -R 777 ./elasticsearch/data/
#Change the password
nano kibana/config/kibana.yml
docker-compose up -d
docker exec -it elasticsearch bin/elasticsearch-setup-passwords interactive
cp firewall/after.rules /etc/ufw/after.rules
ufw allow ssh
ufw allow https
ufw route allow proto tcp from any to any port 443/tcp
ufw enable
Elasticsearch: https://<elasticsearch.your.cool.url>
Kibana: https://<kibana.your.cool.url>
User
elastic
and passwordYourPassword
Note system sending data will use the anonymous user.
Login into Kibana > Stack Management > Security > Roles > Create role
Under Kibana > Stack Management > Index Managment:
Under Kibana > Stack Management > Data views > create data view
- distributor-node
- storage-node
- metricbeat-8.2.3
- packetbeat-8.2.3
Kibana > Stack Management > Security > Users > Create user