_ingest.timestamp Invalid Format for Date field

I was reading the docs about how to use the timestamp from the ingest node to set a field on the document. However, when I try to set a date field(last_indexed_at) to the ingest.timestamp I get an Invalid format error which seems weird since I would assume the timestamp would be in a date format recognizable by elasticsearch.

The field I am trying to set to the ingest node timestamp is a date field, format dateOptionalTime.

Anyone know if there is a proper way to do this? Do I need to setup a second date processor to process the timestamp or do I need to change the mapping for the last_indexed_at field.

Thanks!

This is fixed for 6.0.

In 5.5.0, you can use the new behavior by setting ingest.new_date_format to true.

1 Like

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