Pull request 161: 4299-querylog-stats-interval

Merge in DNS/adguard-home-wiki from 4299-querylog-stats-interval to master

Squashed commit of the following:

commit 956fe56e031e644b7261efc2b3f5f1f86d8d7f8e
Merge: 85b6c53 5e145e8
Author: Stanislav Chzhen <s.chzhen@adguard.com>
Date:   Fri Mar 24 16:27:33 2023 +0300

    Merge branch 'master' into 4299-querylog-stats-interval

commit 85b6c53fba09cec7b2fe66a988f02e186ab5e9ee
Author: Stanislav Chzhen <s.chzhen@adguard.com>
Date:   Fri Mar 24 16:27:18 2023 +0300

    Configuration: add before

commit 4340f9c026abf7dd4d7aa8a51747f75c15d6a77d
Author: Stanislav Chzhen <s.chzhen@adguard.com>
Date:   Fri Mar 24 15:01:12 2023 +0300

    Configuration: querylog stats interval
Stanislav Chzhen 2023-03-24 17:18:34 +03:00
parent 5e145e81db
commit c5eebfecee
1 changed files with 6 additions and 4 deletions

@ -508,14 +508,16 @@ Settings are stored in [YAML format](https://en.wikipedia.org/wiki/YAML), possib
- `querylog` (**since v0.107.24**) — Query log settings section:
- `enabled`: Query log status.
- `file_enabled`: Write query logs to a file.
- `interval`: Time interval for query log files rotation. It's a
human-readable duration in hours, the possible values are: `2160h`,
`720h`, `168h`, `24h`, `6h`.
- `interval (**since v0.107.27**)`: Time interval for query log files
rotation. It's a string with human-readable duration between an hour
(1h) and a year (8760h).
- `size_memory`: Number of entries kept in memory before they are flushed to disk.
- `ignored`: List of host names, which should not be written to log.
- `statistics` (**since v0.107.24**) — Statistics settings section:
- `enabled`: Statistics status.
- `interval`: Time interval for statistics (in days)
- `interval`: Time interval for statistics. (**before v0.107.27**) It's a
number with duration in days. (**since v0.107.27**) It's a string with
human-readable duration between an hour (1h) and a year (8760h).
- `ignored`: List of host names, which should not be counted.
- `filters` — List of filters, each filter has the following values:
- `enabled` — Current filter's status (enabled/disabled).