I am doing a project in which I interact with aws.
I am sending some data to iot aws:
{"location" : "6960,6960", "times" : "2017-04-30 18:22:55"}
I send a structure like that and in the aws CLI I see that it arrives.
Then I send it to the elasticsearch of aws and from there to kibana. I define the Elasticsearch indices in this way:
{
"mappings": {
"tesgps1": {
"properties": {
"location": {
"type": "geo_point",
"store": true
},
"times": {
"type": "date",
"format":"yyyy-MM-dd HH:mm:ss",
}
}
}
}
}
And in kibana they appear, but the times are neither aggregable nor searchable:
I am new to the subject and I do not know where the fault is, if in the elasticsearch or in kibana