Ad Widget

Collapse

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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DenisB2021
    Junior Member
    • Sep 2021
    • 2

    #1

    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.
Working...