github.com/crowdsecurity/crowdsec@v1.6.1/pkg/parser/tests/dateparser-enrich/test.yaml (about)

     1  #these are the events we input into parser
     2  lines:
     3    - StrTime: 2012/11/01
     4      Parsed:
     5        test: format1
     6    - StrTime: 11/02/2012 13:37:05
     7      Parsed:
     8        test: format2
     9  #these are the results we expect from the parser
    10  results:
    11    - Parsed:
    12        test: format1
    13      Enriched:
    14        MarshaledTime: "2012-11-01T00:00:00Z"
    15      Process: true
    16      Stage: s00-raw
    17    - Parsed:
    18        test: format2
    19      Enriched:
    20        MarshaledTime: "2012-11-02T13:37:05Z"
    21      Process: true
    22      Stage: s00-raw