-
Incident report
-
Resolution: Cannot Reproduce
-
Minor
-
None
-
5.0.3, 5.0.5
-
None
-
Ubuntu 18.04.4
zabbix-server-pgsql 5.0.3
elasticsearch 7.8.0
zabbix-server-mysql 5.0.5
-
Sprint 96 (Jan 2023), Sprint 97 (Feb 2023), Sprint 98 (Mar 2023), Sprint 99 (Apr 2023)
I got an error when trying to save historical Zabbix data in Elasticsearch: "elasticsearch version is not compatible with zabbix server".
Which version of elasticsearch are supported?
- /etc/zabbix/zabbix_server.conf:
#Elasticsearch HistoryStorageURL=http://elastic_fqdn:9200 HistoryStorageTypes=uint,dbl,str,log,text HistoryStorageDateIndex=1
- Elasticsearch:
- dbl_template:
{ "version": 1, "order": 0, "index_patterns": [ "dbl*" ], "settings": { "index": { "lifecycle": { "name": "zabbix_ilm" }, "number_of_shards": "3", "number_of_replicas": "1" } }, "aliases": {}, "mappings": { "_doc": { "_routing": { "required": false }, "_meta": {}, "_source": { "excludes": [], "includes": [], "enabled": true }, "dynamic": false, "dynamic_templates": [], "properties": { "itemid": { "type": "long" }, "clock": { "format": "epoch_second", "type": "date" }, "value": { "coerce": true, "index": true, "ignore_malformed": false, "store": false, "type": "double", "doc_values": true } } } } }
- dbl_template:
-
- log_template
{ "version": 1, "order": 0, "index_patterns": [ "log*" ], "settings": { "index": { "lifecycle": { "name": "zabbix_ilm" }, "number_of_shards": "3", "number_of_replicas": "1" } }, "aliases": {}, "mappings": { "_doc": { "_routing": { "required": false }, "_meta": {}, "_source": { "excludes": [], "includes": [], "enabled": true }, "dynamic": false, "dynamic_templates": [], "properties": { "itemid": { "type": "long" }, "clock": { "format": "epoch_second", "type": "date" } } } } }
- log_template
-
- str_template
{ "version": 1, "order": 0, "index_patterns": [ "str*" ], "settings": { "index": { "lifecycle": { "name": "zabbix_ilm" }, "number_of_shards": "3", "number_of_replicas": "1" } }, "aliases": {}, "mappings": { "_doc": { "_routing": { "required": false }, "_meta": {}, "_source": { "excludes": [], "includes": [], "enabled": true }, "dynamic": false, "dynamic_templates": [], "properties": { "itemid": { "type": "long" }, "clock": { "format": "epoch_second", "type": "date" }, "value": { "index": false, "type": "text", "fields": { "analyzed": { "analyzer": "standard", "index": true, "type": "text" } } } } } } }
- str_template
-
- text_template
{ "version": 1, "order": 0, "index_patterns": [ "text*" ], "settings": { "index": { "lifecycle": { "name": "zabbix_ilm" }, "number_of_shards": "3", "number_of_replicas": "1" } }, "aliases": {}, "mappings": { "_doc": { "_routing": { "required": false }, "_meta": {}, "_source": { "excludes": [], "includes": [], "enabled": true }, "dynamic": false, "dynamic_templates": [], "properties": { "itemid": { "type": "long" }, "clock": { "format": "epoch_second", "type": "date" }, "value": { "index": false, "type": "text", "fields": { "analyzed": { "analyzer": "standard", "index": true, "type": "text" } } } } } } }
- text_template
-
- uint_template
{ "order": 0, "index_patterns": [ "uint*" ], "settings": { "index": { "lifecycle": { "name": "zabbix_ilm" }, "number_of_shards": "3", "number_of_replicas": "1" } }, "aliases": {}, "mappings": { "_doc": { "_source": { "excludes": [], "includes": [], "enabled": true }, "_meta": {}, "_routing": { "required": false }, "dynamic": false, "dynamic_templates": [], "properties": { "clock": { "format": "epoch_second", "type": "date" }, "itemid": { "type": "long" }, "value": { "type": "long", "index": true, "ignore_malformed": false, "coerce": true, "doc_values": true, "store": false } } } } }
- uint_template