Skip to content

Commit

Permalink
fix setup
Browse files Browse the repository at this point in the history
  • Loading branch information
dmachard committed May 30, 2020
1 parent 3252df1 commit 372c1fb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ You can use it to collect DNS queries and responses and to log to syslog or a js

## Table of contents
* [Installation](#installation)
* [Exectute pdns logger](#exectute-pdns-logger)
* [Execute pdns logger](#execute-pdns-logger)
* [Startup options](#startup-options)
* [Output JSON format](#output-json-format)
* [Systemd service file configuration](#systemd-service-file-configuration)
Expand All @@ -32,7 +32,7 @@ Only Python3 is supported.
pip install pdns_logger
```

After installation, you will have 'pdns_logger' binary available
After installation, you will have `pdns logger` binary available

## Execute pdns logger

Expand Down Expand Up @@ -178,7 +178,9 @@ outgoingProtobufServer("10.0.0.97:50001", {logQueries=true,

Restart the recursor.

## JSON remote tcp configuration
## Logstash configuration

With `pdns logger`, you can send DNS logs to a JSON remote collector like logstash.

vim /etc/logstash/conf.d/pdns-logger.conf

Expand All @@ -205,6 +207,10 @@ output {
}
```

Configure your `pdns logger` and restart-it.

Finally, you can have some dashboards on your DNS servers .

![kibana dashboard 1](https://github.com/dmachard/pdns_logger/blob/master/imgs/kibana_dashboard_1.png)

![kibana dashboard 2](https://github.com/dmachard/pdns_logger/blob/master/imgs/kibana_dashboard_2.png)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/python

import setuptools
from dnstap_receiver import __version__
from pdns_logger import __version__

with open("README.md", "r") as fh:
LONG_DESCRIPTION = fh.read()
Expand Down

0 comments on commit 372c1fb

Please sign in to comment.