I am ingesting a CSV file using OpenCSV into POJO with Java. My date format in the file is "yyyy-MM-dd." The Date is read properly and ingested to Elasticsearch as it is. However, whenever I go to Kibana Discover, I will see the date displayed in another date time and not what I expected to see. It looks fine on the Raw JSON. For example, I will have the date "2020-06-01" but Kibana Discover will display "2020-05-31". I also noticed there is a field named "fields" displaying
"fields": {
"date": [
"2020-06-01T00:00:00.000Z"
]
},
Am I doing something wrong or it is just Kibana doing something else?