Trying to figure out why my joda custom format is causing an error. I'm trying to match this date string:
Wed May 23 2018 13:45:04 GMT-0700 (Pacific Daylight Time)
with this joda custom format string:
E MMM dd yyyy HH:mm:ss z (zzzz)||epoch_millis
I'm using this in the kibana dev tools console to test it:
PUT /twitter
{}
PUT /twitter/_mapping/_doc
{
"properties": {
"TxnDate": {
"type": "date",
"format": "E MMM dd yyyy HH:mm:ss z (zzzz)||epoch_millis"
}
}
}
Elasticsearch is returning:
{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "Incomplete parser array"
}
],
"type": "illegal_argument_exception",
"reason": "Incomplete parser array"
},
"status": 400
}