crowdsec/pkg/leakybucket/tests/simple-leaky-uniq/test.yaml
Thibault bui Koechlin 2016167654 initial import
2020-05-15 11:39:16 +02:00

34 lines
703 B
YAML

#this one won't due to leakspeed / delay
lines:
- Line:
Labels:
type: testlog
Raw: xxheader VALUE1 trailing stuff
MarshaledTime: 2020-01-01T10:00:00Z
Meta:
source_ip: 1.2.3.4
uniq_key: aaa
- Line:
Labels:
type: testlog
Raw: xxheader VALUE2 trailing stuff
MarshaledTime: 2020-01-01T10:00:01Z
Meta:
source_ip: 1.2.3.4
uniq_key: aaa
- Line:
Labels:
type: testlog
Raw: xxheader VALUE2 trailing stuff
MarshaledTime: 2020-01-01T10:00:02Z
Meta:
source_ip: 1.2.3.4
uniq_key: aab
results:
- Overflow:
scenario: test/simple-leaky
Source_ip: 1.2.3.4
Events_count: 2