Can someone help me with the following?
I have a timestamp like this, and want to create it in Elasticsearch in a datefield.
Apr 25, 2019 12:21:19,783 AM CEST
I keep getting errors with unrecognized date format and tried many formats.
The 783 in this case are milliseconds.
Steps that I tried with the following:
PUT _template/template_testindex
{
"index_patterns": ["testindex"],
"settings": {
"number_of_shards": 1
},
"mappings" : {
"doc" : {
"properties" : {
"timestamp" : {
"type" : "date",
"format": "MMM d, yyyy K:m:s,S a z"
}
}
}
}
}
PUT testindex/_doc/1
{
"timestamp": "Apr 25, 2019 12:21:19,783 AM CEST"
}