摘要: 只有两种情况需要操作 Data Views,其他时候完全不用管: 1. 什么时候需要操作 Data Views? 业务日志(非监控日志):比如你通过 filebeat.inputs 收集的应用日志(存储在 shihao-logs-* 等自定义索引中),需要手动创建 Data View 关联这些索引, 阅读全文
posted @ 2025-11-14 17:45 C豪 阅读(9) 评论(0) 推荐(0)
摘要: (1)进入 Filebeat 配置目录 打开 CMD(管理员模式),进入 Filebeat 安装目录: cmd cd C:\Program Files\Elastic\Beats\9.2.1\filebeat (2)启用对应的模块 执行以下命令启用监控模块(按需选择,建议全启用): cmd # 启用 阅读全文
posted @ 2025-11-14 14:37 C豪 阅读(7) 评论(0) 推荐(0)
摘要: 一、Data View(数据视图)的作用:它是 Kibana 与 Elasticsearch 索引之间的 “桥梁” 简单说,Data View 通过 “索引模式”(比如你用的 shihao-logs-*)关联 Elasticsearch 中符合规则的所有索引,让 Kibana 知道: 要从哪些索引中 阅读全文
posted @ 2025-11-14 12:03 C豪 阅读(10) 评论(0) 推荐(0)
摘要: 第一步:配置 Filebeat(监听日志文件,发送到 Logstash) 1. 生成并编辑 filebeat.yml 进入 Filebeat 安装目录(如 C:\filebeat-9.2.1-windows-x86_64),按之前的方法从 filebeat.example.yml 复制生成 file 阅读全文
posted @ 2025-11-14 01:15 C豪 阅读(75) 评论(0) 推荐(0)
摘要: 第二步:配置 Logstash(接收 Filebeat 日志,处理后发送到 Elasticsearch) 1. 创建 Logstash 管道配置文件 进入 Logstash 安装目录的 config 文件夹(如 C:\logstash-9.2.1\config),新建一个文件 springcloud 阅读全文
posted @ 2025-11-14 01:01 C豪 阅读(33) 评论(0) 推荐(0)