-
Download the
docker-composefile -
Create the
datafolder.mkdir -p ./data
-
Start the docker stack:
sudo docker compose up -d
-
Finally, run DNScollector from source and generate some DNS logs from your DNS server with DNStap protocol.
go run . -config docs/_integration/loki/config.yml -
Connect to the web interface of grafana through http://127.0.0.1:3000 and
adminlogin andbadpasswordGo to the menuExplorerand add the{job="dnscollector"}filter, your DNS logs will be here.