Zabbix GUI configuration, ElasticSearch

Make sure you have record:
grep your-elasticsearch.here /etc/hosts
// Elasticsearch url (can be string if same url is used for all types).
$HISTORY['url'] = [
      'uint' => 'http://your-elasticsearch.here:9200',
      'dbl' => 'http://your-elasticsearch.here:9200',
      'str' => 'http://your-elasticsearch.here:9200',
      'log' => 'http://your-elasticsearch.here:9200',
      'text' => 'http://your-elasticsearch.here:9200'
];
// Value types stored in Elasticsearch.
$HISTORY['types'] = ['uint','dbl','str','log','text'];

No comments: