Zabbix 5.4, unable send data to Elastic Search (date field)

Hello everybody.

There is zabbix 5.4 and Elastic Search 7.11.2.

Problem:

Can't send data over zabbix_sender to the element type "zabbix trapper"

Error:

elastic_writer_flush() cannot send data to elasticsearch: index:log status:400 'type:illegal_argument_exception reason:unable to parse date [1631578881]

Index map:

 { "log" : { "aliases" : { }, "mappings" : { "properties" : { "clock" : { "type" : "date", "format" : "strict_date_optional_time||epoch_second" }, "itemid" : { "type" : "long" }, "value" : { "type" : "text", "index" : false, "fields" : { "analyzed" : { "type" : "text", "analyzer" : "standard" } } } } }, "settings" : { "index" : { "routing" : { "allocation" : { "include" : { "_tier_preference" : "data_content" } } }, "number_of_shards" : "5", "provided_name" : "log", "creation_date" : "1631578083102", "number_of_replicas" : "1", "uuid" : "ZlUGvSjiTIeB2-2Cxbr__w", "version" : { "created" : "7110299" } } } } }

In the map value field "format" matter "strict_date_optional_time||epoch_second".

What could be the problem?
Thx.

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