• 首页
  • 博客
  • 项目
  • 留言墙
  • AMA 咨询

动态更新

喜欢我的内容的话不妨订阅支持一下 🫶
加入其他 0 位订阅者,每月一封,随时可以取消订阅。

© 2025 Stiles Castle. 网站已开源:GitHub

首页博客项目留言墙AMA 咨询
总浏览量 1.3万最近访客来自 Ashburn, US🇺🇸
    ELK监控搭建
    2020/06/06软件工程

    ELK监控搭建

    实现Elasticsearch监控报警,x-pack,Sentinl,Watcher 等都是可行性方案之一,如下记下最近搭建的心得

    38次点击15分钟阅读

    使用x-pack 监控

    1:安装x-pack: Elasticsearch安装目录下执行 bin/elasticsearch-plugin install x-pack(基本上都是安装失败,本来x-pack文件很大,同时又被墙)

    2:本地安装:https://artifacts.elastic.co/downloads/packs/x-pack/x-pack-6.2.4.zip

    下载对应文件后执行 bin/elasticsearch-plugin install file:///path/to/file/x-pack-6.2.4.zip

    具体参考:

    https://www.elastic.co/guide/en/elasticsearch/reference/6.2/installing-xpack-es.html

    更改 elasticsearch 的密码执行bin/x-pack/setup-passwords interactive 然后回车设置密码。

    其他节点只要安装了x-pack插件的话,就可以直接加入了,无需再设置密码了。

    config/elasticsearch.yml添加

    验证watcher是否启动

    http://localhost:9200/_watcher/stats?pretty

    kibana上安装x-pack kibana也采用本地安装: bin/kibana-plugin install file:x-pack-6.2.4.zip

    kibana上设置es密码打开 kibana.yml 设置:

    配置报警信息

    配置文件改动

    logstash配置x-pack:

    Sentinl监控插件下载地址https://github.com/sirensolutions/sentinl/releases?after=tag-6.3.2-beta-1

    kibana安装目录/bin/kibana-plugin install 安装包放的位置/安装包名

    sentinl使用方式:可以借鉴https://www.jianshu.com/p/2816c20f8ead

    参考的资料如下:

    https://www.cnblogs.com/heyongboke/p/11393069.html

    https://www.elastic.co/guide/en/elasticsearch/reference/6.2/installing-xpack-es.html

    https://www.cnblogs.com/cheesebar/p/9126171.html

    https://www.cnblogs.com/lfwolf/p/6669812.html

    https://www.jianshu.com/p/2816c20f8ead

    相关文章

    Upsource实践指南

    2022/05/10软件工程5722分钟阅读

    代码审查指南

    2022/05/09软件工程8211分钟阅读

    使用kubewatch监控k8s资源变更

    2021/06/04软件工程3815分钟阅读