23.2. Sending metrics to a remote instance of Elasticsearch
Red Hat does not own or maintain Elasticsearch. You need to have a working familiarity with Elasticsearch setup and maintenance to deploy this option.
You can configure the Red Hat Virtualization Manager and hosts to send metrics data to your existing Elasticsearch instance.
To do this, run the Ansible role that configures
rsyslog on the Manager and all hosts to collect
vdsm.log and collectd metrics, and send them to your Elasticsearch instance.
23.2.1. Installing collectd and rsyslog
rsyslog on the hosts to collect logs and metrics.
You do not need to repeat this procedure for new hosts. Every new host that is added is automatically configured by the Manager to send the data to Elasticsearch during host-deploy.
- Log in to the Manager machine using SSH.
# cp /etc/ovirt-engine-metrics/config.yml.example /etc/ovirt-engine-metrics/config.yml.d/config.yml
config.ymland save the file. These parameters are mandatory and are documented in the file. Add the following variables:
use_omelasticsearch_cert: false viaq_metrics_store: false rsyslog_elasticsearch_usehttps_metrics: !!str off rsyslog_elasticsearch_usehttps_logs: !!str off
rsyslogon the hosts:
For more information, see Sending RHV monitoring data to a remote Elasticsearch instance.