From 1fa032911710a812d74fc2db815f6d7f8ee9e58a Mon Sep 17 00:00:00 2001 From: dmachard <5562930+dmachard@users.noreply.github.com> Date: Thu, 16 Dec 2021 16:12:24 +0100 Subject: [PATCH] Update README.md with usecase-4 --- README.md | 3 ++- example-config/use-case-4.yml | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 example-config/use-case-4.yml diff --git a/README.md b/README.md index 7c1db605..814399b8 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,6 @@ It supports several methods as input to collect dns traffic or logs and can redi * execute external command after each rotation - **[InfluxDB](https://www.influxdata.com/)** * beta support - * tls support - **[Loki](https://grafana.com/oss/loki/)** * beta support @@ -115,6 +114,8 @@ For more informations about **dnstap**, please to read the following page [Dnsta ## Metrics +See [Metrics](doc/metrics.txt). + | Metric | Description | | ---- | ---- | | dnscollector_qps | Number of queries per second received | diff --git a/example-config/use-case-4.yml b/example-config/use-case-4.yml new file mode 100644 index 00000000..de18ab50 --- /dev/null +++ b/example-config/use-case-4.yml @@ -0,0 +1,18 @@ +trace: + verbose: true + +collectors: + dnstap: + enable: true + listen-ip: 0.0.0.0 + listen-port: 6000 + +loggers: + stdout: + enable: false + + lokiclient: + enable: true + server-url: "http://loki:3100/loki/api/v1/push" + job-name: "dnscollector" + text-format: "localtime identity qr queryip family protocol qname qtype rcode" \ No newline at end of file