github.com/crowdsecurity/crowdsec@v1.6.1/pkg/leakybucket/tests/leaky-fixedqueue/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.000Z",
    11          "Meta": {
    12             "source_ip": "2a00:1450:4007:816::200e"
    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.000Z",
    23          "Meta": {
    24             "source_ip": "2a00:1450:4007:816::200e"
    25          }
    26       },
    27       {
    28          "Line": {
    29             "Labels": {
    30                "type": "testlog"
    31             },
    32             "Raw": "xxheader VALUE3 trailing stuff"
    33          },
    34          "MarshaledTime": "2020-01-01T10:00:05.000Z",
    35          "Meta": {
    36             "source_ip": "2a00:1450:4007:816::200e",
    37             "ratata" : "foobar2"
    38          }
    39       },
    40       {
    41          "Line": {
    42             "Labels": {
    43                "type": "testlog"
    44             },
    45             "Raw": "xxheader VALUE4 trailing stuff"
    46          },
    47          "MarshaledTime": "2020-01-01T10:00:05.000Z",
    48          "Meta": {
    49             "source_ip": "2a00:1450:4007:816::200e",
    50             "ratata" : "foobar0"
    51          }
    52       },
    53       {
    54          "Line": {
    55             "Labels": {
    56                "type": "testlog"
    57             },
    58             "Raw": "xxheader VALUE5 trailing stuff"
    59          },
    60          "MarshaledTime": "2020-01-01T10:00:05.000Z",
    61          "Meta": {
    62             "source_ip": "2a00:1450:4007:816::200e",
    63             "ratata" : "foobar1"
    64          }
    65       },
    66       {
    67          "Line": {
    68             "Labels": {
    69                "type": "testlog"
    70             },
    71             "Raw": "xxheader VALUE6 trailing stuff"
    72          },
    73          "MarshaledTime": "2020-01-01T10:00:05.000Z",
    74          "Meta": {
    75             "source_ip": "2a00:1450:4007:816::200e",
    76             "ratata" : "foobar"
    77          }
    78       }
    79    ],
    80    "results": [
    81      {
    82        "Type" : 1,
    83        "Alert": {
    84          "sources" : {
    85            "2a00:1450:4007:816::200e": {
    86              "ip": "2a00:1450:4007:816::200e",
    87              "scope": "Ip",
    88              "value": "2a00:1450:4007:816::200e"
    89            }
    90          },
    91          "Alert" : {
    92            "scenario": "test/simple-leaky",
    93            "events_count": 6
    94          }
    95        }
    96      }
    97    ]
    98  }