Metricbeat is not sending cluster_stats for elasticsearch module

Hello,
I am trying to monitor our elastic search cluster 2.x with metricbeat 7.7.1. Metricbeat is sending over the data for shards, indicex, node, node_stats but for some reason its not sending over cluster_stats metric set.

configurations for elasticsearch module.

# Module: elasticsearch
# Docs: https://www.elastic.co/guide/en/beats/metricbeat/7.2/metricbeat-module-elasticsearch.html
- module: elasticsearch
  metricsets:
      - node
      - node_stats
      - shard 
      - cluster_stats  
  period: 10s
  hosts: ["http://localhost:9200"]

metricbeat logs do not show any errors related to cluster_stats, any advice on this would be really helpful.

Thanks in advance

Hi!

I would suggest to isolate the issue by running Metricbeat in debug mode with only this specific metricset enabled:

- module: elasticsearch
  metricsets:
      - cluster_stats  
  period: 10s
  hosts: ["http://localhost:9200"]

and then run metricbeat in debug mode: ./metricbeat -e -d "*"
Is there anything suspicious in the logs? Could you share any logs too?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.