github.com/crowdsecurity/crowdsec@v1.6.1/pkg/leakybucket/tests/simple-leaky-uniq/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          "uniq_key": "aaa"
    14        }
    15      },
    16      {
    17        "Line": {
    18          "Labels": {
    19            "type": "testlog"
    20          },
    21          "Raw": "xxheader VALUE2 trailing stuff"
    22        },
    23        "MarshaledTime": "2020-01-01T10:00:01+00:00",
    24        "Meta": {
    25          "source_ip": "1.2.3.4",
    26          "uniq_key": "aaa"
    27        }
    28      },
    29      {
    30        "Line": {
    31          "Labels": {
    32            "type": "testlog"
    33          },
    34          "Raw": "xxheader VALUE2 trailing stuff"
    35        },
    36        "MarshaledTime": "2020-01-01T10:00:02+00:00",
    37        "Meta": {
    38          "source_ip": "1.2.3.4",
    39          "uniq_key": "aab"
    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": 2
    57          }
    58         
    59        }
    60      }
    61    ]
    62  }
    63