github.com/crowdsecurity/crowdsec@v1.6.1/pkg/leakybucket/tests/simple-counter/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 VALUE1 trailing stuff"
    21        },
    22        "MarshaledTime": "2020-01-01T10:00:00+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              
    36              "ip": "1.2.3.4"
    37            }
    38          },
    39          "Alert": { 
    40            "scenario": "test/simple-counter",
    41            "events_count": 2
    42          }
    43        }
    44      }
    45    ]
    46  }