1.安装: 如果有elk单独用户,切换到该用户下, wget下载,进入到es安装目录,执行 ./elasticsearch-plugin install file://$(pwd)/../../elasticsearch-prometheus-exporter-6.4.2.0.zip 即可完成安装

2.prometheus的配置

  - job_name: 'elasticsearch'
    scrape_interval: 6s
    metrics_path: "/_prometheus/metrics"
    static_configs:
    - targets: ['192.168.1.44:9200']

3.elastic search6.4.2合适的dashboard id 266

4.参考:https://www.cnblogs.com/lizhaojun-ops/p/10676362.html    https://github.com/vvanholl/elasticsearch-prometheus-exporter

 

----------------------------------------------------------------

https://blog.csdn.net/w372426096/article/details/90697088

相关文章:

  • 2021-09-04
  • 2021-07-09
  • 2021-06-19
  • 2021-12-02
  • 2022-12-23
  • 2022-12-23
  • 2021-12-11
  • 2021-10-04
猜你喜欢
  • 2021-10-29
  • 2022-02-07
  • 2021-07-26
  • 2021-04-19
  • 2021-07-10
  • 2022-12-23
  • 2021-08-06
相关资源
相似解决方案