-
Incident report
-
Resolution: Cannot Reproduce
-
Critical
-
None
-
3.4.6
-
None
Getting HTTP 403 error when using Elasticsearch history database
Log examples:
zabbix_server.log
14714:20180117:114400.941 sending {"index":{"_index":"dbl","_type":"values"}} {"itemid":28260,"value":"0.000000","clock":1516178640,"ns":229987957,"ttl":604800} 14714:20180117:114401.020 cannot data to elasticsearch, HTTP error: 403 14714:20180117:114401.020 End of elastic_writer_flush() 14714:20180117:114401.020 End of zbx_history_add_values()
zabbix_server.log
14714:20180117:114401.101 sending query to http://localhost:9200/dbl/values/_search?scroll=10s; post data: {"query":{"bool":{"must":[{"match":{"itemid":28260}}],"filter":[{"range":{"clock":{"gt":1516178340,"lte":1516178640}}}]}}} 14717:20180117:114401.134 __zbx_zbx_setproctitle() title:'history syncer #3 [synced 0 items in 0.000151 sec, syncing history]' 14717:20180117:114401.134 In DCsync_history() history_num:2 14717:20180117:114401.134 __zbx_zbx_setproctitle() title:'history syncer #3 [synced 0 items in 0.000056 sec, idle 1 sec]' 14714:20180117:114401.178 cannot get values from elasticsearch, HTTP error: 403 14714:20180117:114401.178 End of elastic_get_values() 14714:20180117:114401.178 End of zbx_history_get_values():FAIL values:0 14714:20180117:114401.178 End of zbx_vc_get_value_range():FAIL count:0 cached:0 14714:20180117:114401.178 End of evaluate_AVG():FAIL 14714:20180117:114401.178 End of evaluate_function():FAIL value:'' 14714:20180117:114401.178 End of zbx_evaluate_item_functions()