Invalid date, showing in discovery tab [KIbana]

Hi ,

I am sending the data through java api in elasticsearch.
I have created the mapping like

"mappings":{"default":{"properties":{"DateTime":{"type":"date","format":"dd-MM-yyyy HH:mm:ss.SSS","store":true}}}}

DateTime I am getting from java api is : 19-01-2016 15:08:47.332

It is successfully getting indexed and I can see the time-series graph in discovery tab of kibana , but along with the time I am getting Invalid date, January 19th 2016, 10:08:47.332

could you pls let me know how to resolve that



Thanks for posting your resolution!