github.com/argoproj/argo-cd/v3@v3.2.1/resource_customizations/core.humio.com/HumioParser/testdata/notfound.yaml (about)

     1  apiVersion: core.humio.com/v1alpha1
     2  kind: HumioParser
     3  metadata:
     4    creationTimestamp: '2022-12-08T02:03:07Z'
     5    finalizers:
     6      - core.humio.com/finalizer
     7    generation: 1
     8    labels:
     9      app.kubernetes.io/instance: humio-deploy
    10    name: example-1-parser
    11    namespace: humio
    12    resourceVersion: '10768079'
    13    uid: 5641590d-b8e9-42e8-a544-d0673bf0e1a2
    14  spec:
    15    managedClusterName: example-humiocluster
    16    name: example-1
    17    parserScript: >
    18      /(?<client>\S+)\s+-\s+(?<userid>\S+)\s+\[(?<@timestamp>.*)\]\s+"((?<method>\S+)\s+(?<url>\S+)?\s+(?<httpversion>\S+)?|-)"\s+(?<statuscode>\d+)\s+(?<responsesize>\S+)\s+"(?<referrer>[^"]*)"\s+"(?<useragent>[^"]*)"\s*(?<responsetime>(\d|\.)+)?/
    19      | parseTimestamp(format="dd/MMM/yyyy:HH:mm:ss Z", field=@timestamp)
    20    repositoryName: example-repo
    21    tagFields:
    22      - statuscode
    23      - client
    24    testData:
    25      - >-
    26        4.4.4.4 - - [12/Dec/2015:18:25:11 +0100] "GET /administrator/
    27        HTTP/1.1" 200 4263 "-" "Mozilla/5.0 (Windows NT 6.0; rv:34.0)
    28        Gecko/20100101 Firefox/34.0" "-"
    29      - >-
    30        4.4.4.4 - - [12/Dec/2015:18:25:11 +0100] "POST
    31        /administrator/index.php HTTP/1.1" 200 4494
    32        "http://github.com/administrator/" "Mozilla/5.0 (Windows NT 6.0;
    33        rv:34.0) Gecko/20100101 Firefox/34.0" "-"
    34      - >-
    35        4.4.4.4 - - [12/Dec/2015:18:31:08 +0100] "GET /administrator/
    36        HTTP/1.1" 200 4263 "-" "Mozilla/5.0 (Windows NT 6.0; rv:34.0)
    37        Gecko/20100101 Firefox/34.0" "-"
    38  status:
    39    state: NotFound