Pull request 193: 5992-stats-qlog-custom-dir

Squashed commit of the following:

commit 6736d5da7d73472e58103e26b418b214894197c1
Author: Stanislav Chzhen <s.chzhen@adguard.com>
Date:   Wed Feb 7 14:17:25 2024 +0300

    Configuratoin: fix typo

commit 96ff1f27837f30e6516dc9f511e55a58d46cf9c9
Author: Stanislav Chzhen <s.chzhen@adguard.com>
Date:   Wed Feb 7 13:56:20 2024 +0300

    Configuration: qlog stats custom dir
Stanislav Chzhen 2024-02-12 20:15:29 +03:00
parent 5cf89dbd52
commit 96e33375cf
1 changed files with 9 additions and 5 deletions

@ -747,18 +747,22 @@ Settings are stored in [YAML format](https://en.wikipedia.org/wiki/YAML), possib
- `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.
- `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.
**Since v0.107.37,** AdBlock rule syntax is supported.
- `dir_path` (**since v0.107.45**): Custom directory for storing query log
files.
- `statistics` (**since v0.107.24**) — Statistics settings section:
- `enabled`: Statistics status.
- `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
- `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.
**Since v0.107.37,** AdBlock rule syntax is supported.
- `dir_path` (**since v0.107.45**): Custom directory for storing statistics.
- `filters` — List of filters, each filter has the following values:
- `enabled` — Current filter's status (enabled/disabled).
- `url` — URL pointing to the filter contents (filtering rules).