crowdsec/pkg/parser/tests/dateparser-enrich/test.yaml

23 lines
483 B
YAML
Raw Normal View History

2020-05-15 09:39:16 +00:00
#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