This is a small experiment to see if I can get logs from Dgraph running on Docker. Steps to get this to work (Linux system with docker deamon running and docker-cli + docker-compose
):
sudo su -
chown root:root filebeat.yml
# launch E-K
docker-compose up -d elasticsearch
docker-compose up -d kibana
# launch Filebeat when Kibana is read
docker-compose up -d filebeat
# launch Dgraph services
docker-compose up -d zero
docker-compose up -d alpha
Through some tinkering with Kibana, I was able to run this URL to get at the Date + Container + logs.
http://localhost:5601/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now%2Fd,to:now%2Fd))&_a=(columns:!(container.name,message),filters:!(),index:'filebeat-*',interval:auto,query:(language:kuery,query:''),sort:!())
- FileBeat
- Autodiscover
- Other
- ElasticSearch
- Kibana