Dates being displayed in two different formats

in my mappings i have two date fields, data and requestTime. In my java code I have the same format for both which is yyyy-MM-dd'T'hh:mm:ss.sssZ. Now when I try to display these dates on my Kibana Discover tab, I get both these columns in different formats. Date field is recognized by Kibana and converted into proper format but requestTime is not.Capture . Why is this happening? Also when I go to Data Table in Kibana Visualizations and create a bucket for requestTime, it does not show any results.

What does the index mapping for both date and requestTime look like? (docs for getting that).

If the field is not a date type in Elasticsearch, Kibana won't treat it as such.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.