Skip to content

light weight log filter/analysis/show, grafana json format, yaegi

Notifications You must be signed in to change notification settings

lsg2020/logfilter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

log filter

  • 轻量级的日志过滤分析统计工具,使用grafana展示
  • go version: 1.16

img.png img_1.png

使用

  • 构建cmds/manager 并配置config.json, 运行在管理机上
  • grafana配置
    • 安装json插件 img_2.png
    • 添加json数据源 url: http://127.0.0.1:9900
    • 添加dashboard 配置Variables:img_3.png
      • name:target query:{"type": "target"}
      • name:filter query:{"type":"filter", "target":"$target"}
      • name:sub_filter query:{"type":"sub_filter", "target":"$target", "filter":"$filter"}
    • 增加panelimg_4.png

About

light weight log filter/analysis/show, grafana json format, yaegi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published