crowdsec/pkg/parser/tests/dateparser-enrich/test.yaml
Thibault bui Koechlin 2016167654 initial import
2020-05-15 11:39:16 +02:00

23 lines
483 B
YAML

#these are the events we input into parser
lines:
- StrTime: 2012/11/01
Parsed:
test: format1
- StrTime: 11/02/2012 13:37:05
Parsed:
test: format2
#these are the results we expect from the parser
results:
- Parsed:
test: format1
Enriched:
MarshaledTime: "2012-11-01T00:00:00Z"
Process: true
Stage: s00-raw
- Parsed:
test: format2
Enriched:
MarshaledTime: "2012-11-02T13:37:05Z"
Process: true
Stage: s00-raw