Debian Codegraph @

pkg/leakybucket/tests/simple-leaky-uniq-w-buckets_state/test.json

raw
1 {
2 "lines": [
3 {
4 "Line": {
5 "Labels": {
6 "type": "testlog"
7 },
8 "Raw": "xxheader VALUE3 trailing stuff"
9 },
10 "MarshaledTime": "2020-01-01T10:00:06+00:00",
11 "Meta": {
12 "source_ip": "1.2.3.4",
13 "uniq_key": "baa"
14 }
15 },
16 {
17 "Line": {
18 "Labels": {
19 "type": "testlog"
20 },
21 "Raw": "xxheader VALUE3 trailing stuff"
22 },
23 "MarshaledTime": "2020-01-01T10:00:07+00:00",
24 "Meta": {
25 "source_ip": "1.2.3.4",
26 "uniq_key": "baa"
27 }
28 },
29 {
30 "Line": {
31 "Labels": {
32 "type": "testlog"
33 },
34 "Raw": "xxheader VALUE4 trailing stuff"
35 },
36 "MarshaledTime": "2020-01-01T10:00:08+00:00",
37 "Meta": {
38 "source_ip": "1.2.3.4",
39 "uniq_key": "bab"
40 }
41 }
42 ],
43 "results": [
44 {
45 "Alert": {
46 "sources": {
47 "1.2.3.4": {
48 "scope": "Ip",
49 "value": "1.2.3.4",
50
51 "ip": "1.2.3.4"
52 }
53 },
54 "Alert" : {
55 "scenario": "test/simple-leaky",
56 "events_count": 4
57 }
58
59 }
60 }
61 ]
62 }
63