github.com/crowdsecurity/crowdsec@v1.6.1/pkg/leakybucket/tests/simple-leaky-cancel_on/test.json (about) 1 { 2 "lines": [ 3 { 4 "Line": { 5 "Labels": { 6 "type": "testlog" 7 }, 8 "Raw": "xxheader VALUE1 trailing stuff" 9 }, 10 "MarshaledTime": "2020-01-01T10:00:00+00:00", 11 "Meta": { 12 "source_ip": "1.2.3.4" 13 }, 14 "Parsed": { 15 "random_value" : "41" 16 } 17 }, 18 { 19 "Line": { 20 "Labels": { 21 "type": "testlog" 22 }, 23 "Raw": "xxheader VALUE2 trailing stuff" 24 }, 25 "MarshaledTime": "2020-01-01T10:00:05+00:00", 26 "Meta": { 27 "source_ip": "1.2.3.4" 28 }, 29 "Parsed": { 30 "random_value" : "42" 31 } 32 }, 33 { 34 "Line": { 35 "Labels": { 36 "type": "testlog" 37 }, 38 "Raw": "xxheader VALUE1 trailing stuff" 39 }, 40 "MarshaledTime": "2020-01-01T10:00:00+00:00", 41 "Meta": { 42 "source_ip": "1.2.3.4" 43 }, 44 "Parsed": { 45 "random_value" : "41" 46 } 47 }, 48 { 49 "Line": { 50 "Labels": { 51 "type": "testlog" 52 }, 53 "Raw": "xxheader VALUE1 trailing stuff" 54 }, 55 "MarshaledTime": "2020-01-01T10:00:00+00:00", 56 "Meta": { 57 "source_ip": "2.2.3.4" 58 }, 59 "Parsed": { 60 "random_value" : "41" 61 } 62 }, 63 { 64 "Line": { 65 "Labels": { 66 "type": "testlog" 67 }, 68 "Raw": "xxheader VALUE1 trailing stuff" 69 }, 70 "MarshaledTime": "2020-01-01T10:00:00+00:00", 71 "Meta": { 72 "source_ip": "2.2.3.4" 73 }, 74 "Parsed": { 75 "random_value" : "41" 76 } 77 }, 78 { 79 "Line": { 80 "Labels": { 81 "type": "testlog" 82 }, 83 "Raw": "xxheader VALUE1 trailing stuff" 84 }, 85 "MarshaledTime": "2020-01-01T10:00:00+00:00", 86 "Meta": { 87 "source_ip": "2.2.3.4" 88 }, 89 "Parsed": { 90 "random_value" : "41" 91 } 92 } 93 ], 94 "results": [ 95 { 96 "Alert": { 97 } 98 }, 99 { 100 "Alert": { 101 "sources": { 102 "2.2.3.4": { 103 "scope": "Ip", 104 "value": "2.2.3.4", 105 "ip": "2.2.3.4" 106 } 107 }, 108 "Alert" : { 109 "scenario": "test/simple-leaky-cancel", 110 "events_count": 2 111 } 112 } 113 } 114 115 ] 116 } 117