Dateformat with milliseconds and Zimezone

Hi,

my timestamp is "2024-03-15T01:14:42.429088+01:00" but no pattern work for me.

yyyy-MM-dd'T'HH:mm:ss.SSSSSSX
yyyy-MM-dd'T'HH:mm:ss.SSSSSSZ
yyyy-MM-ddTHH:mm:ss.ssssssTZD
YYYY-MM-DDTHH:MM:SS.ssssss±HH:MM

can anybody help me?

It is generally useful to provide information about which Elasticsearch version you are using plus a full example that can be used to reproduce the issue. By just stating that it is not working it is not clear exactly what is not working nor what your expectations are.

The first thing to note is that the timestamp you have given as an example is not in millisecond precision (3 decimals) but in microseconds (6 decimals), The standard date mapping type only supports millisecond precision, so in order to use the full precision you may need to map your field as date_nanos.

I will grok it out or change the log systems. I don´t need microseconds.

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