# goMonitorLog **Repository Path**: qieangel2013/goMonitorLog ## Basic Information - **Project Name**: goMonitorLog - **Description**: 基于Aho-Corasick 算法+Trie树+DFA 来实现实时匹配,可以实时对文本过滤+字符过滤+敏感词过滤+关键词过滤+脏词过滤+多字符串匹配等处理 支持所有的文本文件类型(包括所有日志) - **Primary Language**: Go - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 54 - **Forks**: 16 - **Created**: 2019-11-08 - **Last Updated**: 2025-04-09 ## Categories & Tags **Categories**: nms **Tags**: None ## README ### 介绍 基于Aho-Corasick 算法+Trie树+DFA 来实现实时匹配,可以实时对文本过滤+字符过滤+敏感词过滤+关键词过滤+脏词过滤+多字符串匹配等处理 支持所有的文本文件类型(包括所有日志) ### 配置 etc/log.toml log_list = [] //日志文件列表 fillter_list =[] //过滤字符串列表 find_list = [] //查找字符串列表,注意 find_list和fillter_list是互斥的 ding_webhook_url //钉钉url server_log //日志 tail_line = "10" //tail -n 参数(从第多少行展示开始监听)