摘要: 因业务需要,我们现有得服务器上一个节点上装了多个服务,前后端都有涉及,因此就需要用 filebeat 将这些日志收集起来生成不一样得索引,配置如下(仅供参考): input: filebeat.inputs: # Each - is an input. Most options can be set 阅读全文
posted @ 2021-07-02 15:08 太阳的阳ฅ 阅读(1378) 评论(0) 推荐(0) 编辑
摘要: 1、logstash安装准备 logstash是基于java语言开发,所以先安装JDK。logstash 7 目前只支持 Java8 或者 Java 11,安装前确认JDK版本是否正确 2、安装配置 [root@localhost app]# tar xf logstash-7.12.1-linux 阅读全文
posted @ 2021-06-29 17:35 太阳的阳ฅ 阅读(1258) 评论(0) 推荐(0) 编辑
摘要: cat >/etc/logstash/config/redis.conf << 'EOF' input { redis { host => "localhost" port => "6379" db => "0" key => "ng_access" data_type => "list" } re 阅读全文
posted @ 2021-06-29 14:27 太阳的阳ฅ 阅读(70) 评论(0) 推荐(0) 编辑
摘要: 1、Elastic Stack简介 Elastic Stack早期名字叫ELK,是由三个开源软件组成得数据处理框架,后期由于有新的成员加入到ELK中,ELK更名为Elastic Stack以反映其组成成员得变化情况。 Elastic Stack主要组件如下: Elasticsearch:用来数据检索 阅读全文
posted @ 2021-06-02 16:07 太阳的阳ฅ 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 操作系统:centos7 1、准备mysql镜像及mysqld_exporter安装包 2、构建镜像 1)编写Dockerfile ~]# mkdir -p /data/file ~]# cd /data/file/ file]# vim Dockerfile FROM mysql:5.7.21 A 阅读全文
posted @ 2021-05-06 15:52 太阳的阳ฅ 阅读(268) 评论(0) 推荐(0) 编辑
摘要: 以下所有操作,在三台节点全部执行 1、关闭防火墙及selinux ~]# systemctl stop firewalld && systemctl disable firewalld ~]# systemctl stop firewalld && systemctl disable firewal 阅读全文
posted @ 2021-04-12 15:56 太阳的阳ฅ 阅读(24) 评论(0) 推荐(0) 编辑
摘要: 1、被管理主机服务器上安装mysql_export组件 下载地址:https://prometheus.io/download/ 安装mysql_exporter ~]# tar xf mysqld_exporter-0.12.1.linux-amd64.tar.gz -C /usr/local/ 阅读全文
posted @ 2021-03-26 10:42 太阳的阳ฅ 阅读(261) 评论(0) 推荐(0) 编辑
摘要: prometheus是一个用Go编写的时序数据库,可以支持多种语言客户端 安装步骤: 1)安装go 语言环境 2)在监控服务器上安装prometheus 3)被监控端安装 exporter 4)安装grafana 服务端安装: 1、go语言环境配置 ~]# wget https://storage. 阅读全文
posted @ 2021-03-07 17:35 太阳的阳ฅ 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 删除容器: sudo docker stop `sudo docker ps -aq` sudo docker rm -f `sudo docker ps -aq` 删除挂载卷: sudo docker volume rm $(sudo docker volume ls -q) for mount 阅读全文
posted @ 2021-01-26 17:41 太阳的阳ฅ 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 官网介绍: Apollo(阿波罗)是携程框架部门研发的分布式配置中心,能够集中化管理应用不同环境、不同集群的配置,配置修改后能够实时推送到应用端,并且具备规范的权限、流程治理等特性,适用于微服务配置管理场景。 服务端基于Spring Boot和Spring Cloud开发,打包后可以直接运行,不需要 阅读全文
posted @ 2020-12-08 19:07 太阳的阳ฅ 阅读(196) 评论(0) 推荐(0) 编辑