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
parent
5e145e81db
commit
c5eebfecee
|
@ -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:
|
- `querylog` (**since v0.107.24**) — Query log settings section:
|
||||||
- `enabled`: Query log status.
|
- `enabled`: Query log status.
|
||||||
- `file_enabled`: Write query logs to a file.
|
- `file_enabled`: Write query logs to a file.
|
||||||
- `interval`: Time interval for query log files rotation. It's a
|
- `interval (**since v0.107.27**)`: Time interval for query log files
|
||||||
human-readable duration in hours, the possible values are: `2160h`,
|
rotation. It's a string with human-readable duration between an hour
|
||||||
`720h`, `168h`, `24h`, `6h`.
|
(1h) and a year (8760h).
|
||||||
- `size_memory`: Number of entries kept in memory before they are flushed to disk.
|
- `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.
|
- `ignored`: List of host names, which should not be written to log.
|
||||||
- `statistics` (**since v0.107.24**) — Statistics settings section:
|
- `statistics` (**since v0.107.24**) — Statistics settings section:
|
||||||
- `enabled`: Statistics status.
|
- `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.
|
- `ignored`: List of host names, which should not be counted.
|
||||||
- `filters` — List of filters, each filter has the following values:
|
- `filters` — List of filters, each filter has the following values:
|
||||||
- `enabled` — Current filter's status (enabled/disabled).
|
- `enabled` — Current filter's status (enabled/disabled).
|
||||||
|
|
Loading…
Reference in New Issue