Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 712 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 712 Bytes

DNS-collector with Loki

  • 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 and badpassword Go to the menu Explorer and add the {job="dnscollector"} filter, your DNS logs will be here.