You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How often to perform maintenance. Maintenance includes antispammer maintenance and metric cleanup, metric holder maintenance, increasing basic pipeline metrics with accumulated deltas, logging pipeline stats. The value must be passed in format of duration (`<number>(ms|s|m|h)`).
57
+
How often to perform maintenance. Maintenance includes metric cleanup, metric holder maintenance, increasing basic pipeline metrics with accumulated deltas, logging pipeline stats. The value must be passed in format of duration (`<number>(ms|s|m|h)`).
58
58
59
59
<br>
60
60
@@ -64,16 +64,20 @@ How long the event can process in action plugins and block stream in streamer un
64
64
65
65
<br>
66
66
67
-
**`antispam_threshold`***`int`**`default=0`*
67
+
**`antispam_threshold`***`int`**`default=-1`*
68
68
69
-
Threshold value for the [antispammer](/pipeline/antispam/README.md#antispammer) to ban sources. If set to 0 antispammer is disabled. If set to the value greater than 0 antispammer is enabled and bans sources which write `antispam_threshold` or more logs in `maintenance_interval` time.
69
+
Threshold value for the [antispammer](/pipeline/antispam/README.md#antispammer) to ban sources. If set to -1 antispammer is disabled. If set to the value greater than -1 antispammer is enabled and bans sources which write `antispam_threshold` or more logs in `maintenance_interval` time.
70
+
71
+
> ⚠ DEPRECATED. Use `threshold` in `antispam` instead.
The list of antispammer exceptions. If the log matches at least one of the exceptions it is not accounted in antispammer.
76
78
79
+
> ⚠ DEPRECATED. Use `rules` in `antispam` instead.
80
+
77
81
<br>
78
82
79
83
**`meta_cache_size`***`int`**`default=1024`*
@@ -146,6 +150,8 @@ pipelines:
146
150
max_label_value_length: 100
147
151
```
148
152
153
+
<br>
154
+
149
155
**`hold_duration`** *`string`* *`default=30m`*
150
156
151
157
The amount of time the metric can be idle until it is deleted. Used for deleting rarely updated metrics to save metrics storage resources. The value must be passed in format of duration (`<number>(ms|s|m|h)`).
@@ -158,6 +164,59 @@ Maximum length of custom metric labels in action plugins. If zero, no limit is s
How often to perform antispammer maintenance. The value must be passed in format of duration (`<number>(ms|s|m|h)`).
205
+
206
+
<br>
207
+
208
+
**`threshold`** *`int`* *`default=-1`*
209
+
210
+
Threshold value for the [antispammer](/pipeline/antispam/README.md#antispammer) to ban sources. If set to -1 antispammer is disabled. If set to the value greater than -1 antispammer is enabled and bans sources which write `threshold` or more logs in `maintenance_interval` time. If the `antispam` section is not specified, then `antispam_threshold` is used.
The list of antispammer rules. If the log matches at least one of the exceptions it is not accounted in antispammer.
217
+
218
+
<br>
219
+
161
220
## Datetime parse formats
162
221
163
222
Most of the plugins which work with parsing datetime call `pipeline.ParseTime` function. It accepts datetime layouts the same way as Go [time.Parse](https://pkg.go.dev/time#Parse) (in format of datetime like `2006-01-02T15:04:05.999999999Z07:00`) except unix timestamp formats, they can only be specified via aliases.
How often to perform maintenance. Maintenance includes antispammer maintenance and metric cleanup, metric holder maintenance, increasing basic pipeline metrics with accumulated deltas, logging pipeline stats. The value must be passed in format of duration (`<number>(ms|s|m|h)`).
57
+
How often to perform maintenance. Maintenance includes metric cleanup, metric holder maintenance, increasing basic pipeline metrics with accumulated deltas, logging pipeline stats. The value must be passed in format of duration (`<number>(ms|s|m|h)`).
58
58
59
59
<br>
60
60
@@ -64,16 +64,20 @@ How long the event can process in action plugins and block stream in streamer un
64
64
65
65
<br>
66
66
67
-
**`antispam_threshold`***`int`**`default=0`*
67
+
**`antispam_threshold`***`int`**`default=-1`*
68
68
69
-
Threshold value for the [antispammer](/pipeline/antispam/README.md#antispammer) to ban sources. If set to 0 antispammer is disabled. If set to the value greater than 0 antispammer is enabled and bans sources which write `antispam_threshold` or more logs in `maintenance_interval` time.
69
+
Threshold value for the [antispammer](/pipeline/antispam/README.md#antispammer) to ban sources. If set to -1 antispammer is disabled. If set to the value greater than -1 antispammer is enabled and bans sources which write `antispam_threshold` or more logs in `maintenance_interval` time.
70
+
71
+
> ⚠ DEPRECATED. Use `threshold` in `antispam` instead.
The list of antispammer exceptions. If the log matches at least one of the exceptions it is not accounted in antispammer.
76
78
79
+
> ⚠ DEPRECATED. Use `rules` in `antispam` instead.
80
+
77
81
<br>
78
82
79
83
**`meta_cache_size`***`int`**`default=1024`*
@@ -146,6 +150,8 @@ pipelines:
146
150
max_label_value_length: 100
147
151
```
148
152
153
+
<br>
154
+
149
155
**`hold_duration`** *`string`* *`default=30m`*
150
156
151
157
The amount of time the metric can be idle until it is deleted. Used for deleting rarely updated metrics to save metrics storage resources. The value must be passed in format of duration (`<number>(ms|s|m|h)`).
@@ -158,6 +164,59 @@ Maximum length of custom metric labels in action plugins. If zero, no limit is s
How often to perform antispammer maintenance. The value must be passed in format of duration (`<number>(ms|s|m|h)`).
205
+
206
+
<br>
207
+
208
+
**`threshold`** *`int`* *`default=-1`*
209
+
210
+
Threshold value for the [antispammer](/pipeline/antispam/README.md#antispammer) to ban sources. If set to -1 antispammer is disabled. If set to the value greater than -1 antispammer is enabled and bans sources which write `threshold` or more logs in `maintenance_interval` time. If the `antispam` section is not specified, then `antispam_threshold` is used.
The list of antispammer rules. If the log matches at least one of the exceptions it is not accounted in antispammer.
217
+
218
+
<br>
219
+
161
220
## Datetime parse formats
162
221
163
222
Most of the plugins which work with parsing datetime call `pipeline.ParseTime` function. It accepts datetime layouts the same way as Go [time.Parse](https://pkg.go.dev/time#Parse) (in format of datetime like `2006-01-02T15:04:05.999999999Z07:00`) except unix timestamp formats, they can only be specified via aliases.
0 commit comments