-
Download the
docker-compose
file -
Create the
data
folder.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
admin
login andbadpassword
Go to the menuExplorer
and add the{job="dnscollector"}
filter, your DNS logs will be here.