Reputation: 557
Elasticsearch is not parsing time correctly, it detects the date correctly but is not parsing hours correctly.
Index mapping
"mappings": {
"properties": {
"send_date": {"type": "date", "format": "yyyy-MM-dd HH:mm:ss"}
}
}
Python date
df_date = "2020-05-04 12:08:04"
Elasticsearch is parsing this
May 4, 2020 @ 14:08:04.000
In this case everything is correct but hours
Upvotes: 1
Views: 206
Reputation: 557
Fixed, with @Val help.
Just change Kibana setting to UTC.
Management -> Advance Settings -> Timezone for date formating
Upvotes: 1