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

**URL:** <https://discuss.elastic.co/t/zabbix-5-4-unable-send-data-to-elastic-search-date-field/284585>\
**Category:** Elasticsearch\
**Created:** [September 20, 2021, 12:34am UTC](https://discuss.elastic.co/t/zabbix-5-4-unable-send-data-to-elastic-search-date-field/284585 "2021-09-20T00:34:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![denisb](https://avatars.discourse-cdn.com/v4/letter/d/f4b2a3/32.png) [@denisb](https://discuss.elastic.co/u/denisb)\
**Post date:** [September 20, 2021, 12:34am UTC](https://discuss.elastic.co/t/zabbix-5-4-unable-send-data-to-elastic-search-date-field/284585/1 "2021-09-20T00:34:49Z")

</div>

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:

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

```

Index map:

```auto
 { "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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 18, 2021, 12:35am UTC](https://discuss.elastic.co/t/zabbix-5-4-unable-send-data-to-elastic-search-date-field/284585/2 "2021-10-18T00:35:42Z")

</div>

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