Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

monitore elasticsearch cluster with metricbeat #766

Closed
ebuildy opened this issue Aug 4, 2020 · 6 comments
Closed

monitore elasticsearch cluster with metricbeat #766

ebuildy opened this issue Aug 4, 2020 · 6 comments
Labels
elasticsearch question Further information is requested triage/stale

Comments

@ebuildy
Copy link
Contributor

ebuildy commented Aug 4, 2020

Describe the feature:

Some Helm charts, provide monitoring with the application, (the most famous is "prometheus exporter"). By example, https://github.com/bitnami/charts/tree/master/bitnami/elasticsearch .

Since elastic has a product metricbeat , what about to propose a metricbeat instance as cluster side

Describe a specific use case for the feature:

Monitore ES cluster in production.

@jmlrt jmlrt added the question Further information is requested label Aug 25, 2020
@jmlrt
Copy link
Member

jmlrt commented Aug 25, 2020

Hi @ebuildy,
It is possible and recommended to deploy Metricbeat chart to monitor Elasticsearch chart chart.

@ebuildy
Copy link
Contributor Author

ebuildy commented Oct 18, 2020

Yes I understand,

Most of Helm charts, have monitoring defined as template , via servicemonitor.yaml: https://github.com/bitnami/charts/blob/master/bitnami/elasticsearch/templates/servicemonitor.yaml.

Will be good to have a similar thing with metricbeat.

@cambierr
Copy link

Shouldn't we instead have a companion container for each es pod ? so that they are each collected independently ?

@jmlrt
Copy link
Member

jmlrt commented Nov 18, 2020

Shouldn't we instead have a companion container for each es pod ? so that they are each collected independently ?

This is not required and not recommended.

You should use Metricbeat deployment pod in Metricbeat chart with Elasticsearch module to monitor Elasticsearch.

Actually unlike with Prometheus, we don't need anything into Elasticsearch chart for that.

The only thing you need is to add the following config into Metricbeat values:

deployment:
  metricbeatConfig:
    metricbeat.yml: |
      metricbeat.modules:
      - module: elasticsearch
        metricsets:
          - node
          - node_stats
        period: 10s
        hosts: ["elasticsearch-master:9200"]

@botelastic
Copy link

botelastic bot commented Feb 16, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@botelastic
Copy link

botelastic bot commented Mar 18, 2021

This issue has been automatically closed because it has not had recent activity since being marked as stale.

@botelastic botelastic bot closed this as completed Mar 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
elasticsearch question Further information is requested triage/stale
Projects
None yet
Development

No branches or pull requests

3 participants