github.com/crowdsecurity/crowdsec@v1.6.1/pkg/leakybucket/tests/simple-leaky-ovflwfilter/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          "specvalue": "1"
    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          "specvalue": "2"
    27        }
    28      }
    29    ],
    30    "results": [
    31      {
    32        "Alert": {
    33        }
    34      },
    35      {
    36        "Alert": {
    37          "sources": {
    38            "1.2.3.4": {
    39                "scope": "Ip",
    40                "value": "1.2.3.4",
    41              
    42              "ip": "1.2.3.4"
    43            }
    44          },
    45          "Alert" : {
    46          "scenario": "test/filter-ok",
    47          "events_count": 2
    48          }
    49  
    50        }
    51      }
    52    ]
    53  }
    54