Skip to content

Commit

Permalink
Update README.md with usecase-4
Browse files Browse the repository at this point in the history
  • Loading branch information
dmachard committed Dec 16, 2021
1 parent 7c4e947 commit 1fa0329
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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 |
Expand Down
18 changes: 18 additions & 0 deletions example-config/use-case-4.yml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 1fa0329

Please sign in to comment.