Configure Netdata collector for Elasticsearch
Netdata is a tool to monitor your servers and you can also configure specific service data collection.
Here we'll show how to monitor an Elasticsearch cluster. The module is included with NetData installation, and uses the
_health API from Elasticsearch.
Start by editing the configuration file:
cd /etc/netdata
./edit-config go.d/elasticsearch.conf
Then add the following job:
jobs:
- name: a name
url: ELASTICSEARCH_URL
collect_node_stats: yes
collect_cluster_health: yes
collect_cluster_stats: yes
collect_indices_stats: yes
Restart Netdata:
systemctl restart netdata