Skip to content

Commit

Permalink
docs: link external docs for target format
Browse files Browse the repository at this point in the history
  • Loading branch information
ThinkChaos committed Aug 27, 2024
1 parent dbba2fa commit 12607b6
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -648,24 +648,25 @@ in Excel or OpenOffice Calc) or MySQL/MariaDB database.

You can select one of following query log types:

- `mysql` - log each query in the external MySQL/MariaDB database
- `postgresql` - log each query in the external PostgreSQL database
- `timescale` - log each query in the external Timescale database
- `csv` - log into CSV file (one per day)
- `csv-client` - log into CSV file (one per day and per client)
- `console` - log into console output
- `none` - do not log any queries
- `mysql`: log each query in the external MySQL/MariaDB database
`target` format docs: [Data Source Name](https://github.com/go-sql-driver/mysql?tab=readme-ov-file#dsn-data-source-name).
- `postgresql`: log each query in the external PostgreSQL database
- `timescale`: log each query in the external Timescale database
- `csv`: log into CSV file (one per day)
- `csv-client`: log into CSV file (one per day and per client)
- `console`: log into console output
- `none`: do not log any queries

### Query log fields

You can choose which information from processed DNS request and response should be logged in the target system. You can define one or more of following fields:

- `clientIP` - origin IP address from the request
- `clientName` - resolved client name(s) from the origins request
- `responseReason` - reason for the response (e.g. from which upstream resolver), response type and code
- `responseAnswer` - returned DNS answer
- `question` - DNS question from the request
- `duration` - request processing time in milliseconds
- `clientIP`: origin IP address from the request
- `clientName`: resolved client name(s) from the origins request
- `responseReason`: reason for the response (e.g. from which upstream resolver), response type and code
- `responseAnswer`: returned DNS answer
- `question`: DNS question from the request
- `duration`: request processing time in milliseconds

!!! hint
If not defined, blocky will log all available information
Expand Down

0 comments on commit 12607b6

Please sign in to comment.