crowdsec/pkg/leakybucket/tests/leaky-fixedqueue/test.yaml
2020-08-05 11:39:54 +02:00

52 lines
1.1 KiB
YAML

#this one will trigger a simple overflow
lines:
- Line:
Labels:
type: testlog
Raw: xxheader VALUE1 trailing stuff
MarshaledTime: 2020-01-01T10:00:00Z
Meta:
source_ip: 1.2.3.4
- Line:
Labels:
type: testlog
Raw: xxheader VALUE2 trailing stuff
MarshaledTime: 2020-01-01T10:00:05Z
Meta:
source_ip: 1.2.3.4
- Line:
Labels:
type: testlog
Raw: xxheader VALUE3 trailing stuff
MarshaledTime: 2020-01-01T10:00:05Z
Meta:
source_ip: 1.2.3.4
- Line:
Labels:
type: testlog
Raw: xxheader VALUE4 trailing stuff
MarshaledTime: 2020-01-01T10:00:05Z
Meta:
source_ip: 1.2.3.4
- Line:
Labels:
type: testlog
Raw: xxheader VALUE5 trailing stuff
MarshaledTime: 2020-01-01T10:00:05Z
Meta:
source_ip: 1.2.3.4
- Line:
Labels:
type: testlog
Raw: xxheader VALUE6 trailing stuff
MarshaledTime: 2020-01-01T10:00:05Z
Meta:
source_ip: 1.2.3.4
results:
- Overflow:
scenario: test/simple-leaky
Source_ip: 1.2.3.4
Events_count: 6