代码拉取完成,页面将自动刷新
一个日志收集的agent,并发布到websocket,需配合工具 https://gitee.com/yysf_xin/dproxy 使用
清空关键词和搜索结果后需要重新点击搜索按钮以清空搜索条件
# 服务端模式
./dplog3 -l=:8001 -s=1 -e=sit > log.log 2>&1 &
# 客户端模式 参数r 服务端配置地址
./dplog3 -l=:8001 -e sit -r http://10.185.184.4:8001/api/log/config > log.log 2>&1 &
# 缓存大小
max_buf: 1800
java:
max_el: 2
package: com.feng1
mybatis:
- dao.
- org.apache.ibatis.logging.jdbc.BaseJdbcLogger
db:
db_name: username:password@tcp(10.185.184.18:3006)/dproxy?charset=utf8mb4&parseTime=True&loc=Local
log_level: 0
push:
# 客户端模式指定服务端推送地址
# url: http://10.185.184.4:8001/api/log/push
# 指定推送使用的消息模板
template: LOG_NOTIFY
# 日志聚合
agg:
# 0 debug 1 info 2 warn 3 error
level: 3
# 统计缓存大小
size: 20
# 日志相似度计算
threshold: 0.6
# 缓存过期时间
expire: 15m
# 相似消息发送间隔
span: 10m
# 日志配置
dirs:
- name: test
dir: E:\tmp\test
items:
- name: 'AllLog.2022'
pattern: 'AllLog.2022*.log'
type: java
- name: "test"
pattern: '*.log'
type: line
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。