github.com/crowdsecurity/crowdsec@v1.6.1/pkg/leakybucket/tests/simple-leaky-overflow/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      },
    15      {
    16        "Line": {
    17          "Labels": {
    18            "type": "testlog"
    19          },
    20          "Raw": "xxheader VALUE2 trailing stuff"
    21        },
    22        "MarshaledTime": "2020-01-01T10:00:05+00:00",
    23        "Meta": {
    24          "source_ip": "1.2.3.4"
    25        }
    26      }
    27    ],
    28    "results": [
    29      {
    30        "Alert": {
    31          "sources": {
    32            "1.2.3.4": {
    33                "scope": "Ip",
    34                "value": "1.2.3.4",
    35              "ip": "1.2.3.4"
    36            }
    37          },
    38          "Alert" : {
    39          "scenario": "test/simple-leaky",
    40          "events_count": 2
    41          }
    42        }
    43      }
    44    ]
    45  }
    46