Skip to content

Commit a1a8587

Browse files
committed
log_processor/data_sources/victorialogs: update parameters description
Update parameters description in sync with crowdsecurity/crowdsec#3924
1 parent 9817986 commit a1a8587

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

crowdsec-docs/docs/log_processor/data_sources/victorialogs.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ mode: tail
1414
log_level: info
1515
url: http://localhost:9428/
1616
limit: 1000
17+
since: 1m
1718
query: |
1819
app:nginx
1920
auth:
@@ -23,10 +24,6 @@ labels:
2324
type: nginx
2425
```
2526
26-
:::info
27-
The reader will always start at "now" for `tail` mode.
28-
:::
29-
3027
Look at the `configuration parameters` to view all supported options.
3128

3229
## Parameters
@@ -96,6 +93,10 @@ The maximum duration VictoriaLogs is allowed to be unavailable (once startup is
9693

9794
Default to `30 seconds`.
9895

96+
### `since`
97+
98+
Defines an offset duration to apply to the "start" time of VictoriaLogs query.
99+
This is useful in order to avoid missing logs when restarting crowdsec. Note that it is possible to have logs processed multiple times when using this parameter.
99100

100101
## DSN and command-line
101102

0 commit comments

Comments
 (0)