I'm trying to parse a log date with an Elasticsearch ingest pipeline, using date processor, but the parsed date is not correct.
All the other pipelines that I've created work correctly, except this one.
Here is what I'm using:
Raw log date: Tue Oct 22 10:58:00.645020 2019
Processor:
"date": { "field": "log.time", "target_field": "@timestamp", "formats": ["EEE MMM dd H:m:s.SSSSSS yyyy"] }
Result: 2019-10-22T00:00:00.000Z
The date shown in the log.time
field is correct (Tue Oct 22 10:58:00.645020 2019
)
I've also tried the following format, without success: EEE MMM dd HH:mm:ss.SSSSSS yyyy