ELK
ELK学习资料
小哇666
专注web/大数据
展开
-
Kibana安装方法,和错误解决办法
软件版本:CentOS 7.4ES 7.6.1版,Filebeat7.6.1版,Kibana7.6.1版本1 安装方法,参考博文linux安装kibana-7.6.1 - 邹阳 - 博客园错误1:[reporting] The Reporting plugin encountered issues launching Chromium in a self-test.You may have trouble generating reports. log [07:16:14.420] [er.原创 2020-04-07 21:47:05 · 634 阅读 · 0 评论 -
Metricbeat使用与入门-2 收集nginx指标数据到ES中,并用kibana展示
1开启nginx的状态查询 ,查看博文开启nginx的状态查询_小哇-CSDN博客2 启用nginx module命令:./metricbeat modules enable nginx3 修改nginx module配置,命令:vim modules.d/nginx.yml , 内容如下:- module: nginx period: 10s # Nginx hosts hosts: ["http://127.0.0.1"] server_status_path: "n.原创 2022-03-10 13:47:47 · 5229 阅读 · 0 评论 -
Metricbeat使用与入门-1 收集系统指标数据到ES中
Metricbeat由模块和指标集组成。Metricbeat 模块定义了从特定服务(例如Redis,MySQL等)收集数据的基本逻辑。系统环境:CentOS 7.4ES版本:7.6.1Metricbeat版本:7.6.11 安装 Metricbeat版本:7.6.12查看已经启动的module (步骤可省略,已经是默认了)查看module命令:./metricbeat modules list启动系统模块命令:./metricbeat modules enable system关闭系统.原创 2022-03-10 10:16:47 · 2793 阅读 · 0 评论 -
Filebeat入门及使用-5 读取nginx日志,写入ES,并用kibana展示
1 安装nginx,并找到nginx的日志目录,步骤3要使用2 配置Filebeat的module,在Filebeat中,有大量的module,如mysql,kafka,redis,nginx等,可以简化我们的配置,方便使用。查看Filebeat支持模块命令:./filebeat modules list启动Nginx模块启动命令:./filebeat modules enable nginx禁用命令:./filebeat modules disable nginx3 配置module原创 2022-03-09 22:13:06 · 4639 阅读 · 0 评论 -
Filebeat入门及使用-4 自定义标签和字段,文件输入,ES输出,并用kibana展示
作用:在日志中设置一些个性化的标记,方便后期做处理tags 和 fields 添加其中一个,或都添加,都可以,自己确定1 新建配置文件 a_4.yml# 输入filebeat.inputs:- type: log enabled: true paths: - /data/logs/*.log name: "my-shipper"# 增加标签tags: ["nginx"]# 增加字段fields: instance_id: i-10a64379 reg原创 2022-03-09 20:12:01 · 2915 阅读 · 0 评论 -
Filebeat入门及使用-3 文件输入,ES中输出
ES7.6.1 安装,可参考博文【ElasticSearch】 ElasticSearch安装(一) - H__D - 博客园1 新建配置文件 a_3.yml# 输入filebeat.inputs:- type: log enabled: true paths: - /data/logs/*.log# 指定索引的分区数setup.template.settings: index.number_of_shards: 3# 输出到指定ES的配置output.elas原创 2022-03-09 19:22:28 · 1604 阅读 · 0 评论 -
Filebeat入门及使用-2 从文件读入,控制台输出
1 新建配置文件 a_1.yml# 输入 filebeat.inputs:- type: log enabled: true paths: - /data/logs/test.log - /data/logs/2.log# 输出output.console: pretty: true enable: true2 指定配置文件运行filebeat命令:./filebeat -e -c a_1.yml3 用另一个窗口,echo内容命令:echo "h原创 2022-03-09 19:08:48 · 1005 阅读 · 0 评论 -
Filebeat入门及使用-1 控制台输入,控制台输出
软件版本:CentOS 7.4ES 7.6.1版,Filebeat7.6.1版ES7.6.1 安装,可参考博文【ElasticSearch】 ElasticSearch安装(一) - H__D - 博客园案例1, 控制台输入,控制台输出1 新建配置文件test.yml# 输入filebeat.inputs: # 标准输入- type: stdin enabled: true# 输出# 输出到控制台output.console: pretty: true enable..原创 2022-03-09 19:00:05 · 3032 阅读 · 0 评论