> ## Documentation Index
> Fetch the complete documentation index at: https://doc.lwops.cn/llms.txt
> Use this file to discover all available pages before exploring further.

# 2.12. Plumelog监控

# 1.什么是Plumelog

Plumelog一个简单易用的java分布式日志组件 1.无代码入侵的分布式日志系统，基于log4j、log4j2、logback搜集日志，设置链路ID，方便查询关联日志 2.基于elasticsearch作为查询引擎 3.高吞吐，查询效率高 4.全程不占应用程序本地磁盘空间，免维护;对于项目透明，不影响项目本身运行 5.无需修改老项目，引入直接使用，支持dubbo,支持springcloud

# 2.监控脚本

上传shell脚本及python脚本至server/proxy服务器 （脚本及模板联系技术中心获取） <img src="https://lwweb.oss-cn-shenzhen.aliyuncs.com/docs/images/yuque/plumelog/image-01.png" alt="enter image description here" />

```text theme={null}
cd /itops/zabbix/share/zabbix/externalscripts
# 上传脚本文件到当前目录下
chown itops:itops plumelog.py plumelog
chmod +x plumelog.py plumelog
```

# 3.模板导入

导入模板文件 执行模板迁移操作 <img src="https://lwweb.oss-cn-shenzhen.aliyuncs.com/docs/images/yuque/plumelog/image-02.png" alt="enter image description here" />

# 4.添加监控对象

![enter image description here](https://lwweb.oss-cn-shenzhen.aliyuncs.com/docs/images/yuque/plumelog/image-03.png)
