基于正则表达式的日志解析系统构建研究  

Research on the construction of log parsing system based on regular expression

在线阅读下载全文

作  者:张军[1] 王芬芬[1] Zhang Jun;Wang Fenfen(Hunan Railway Professional Technology College,Zhuzhou 412001,China)

机构地区:[1]湖南铁道职业技术学院,湖南株洲412001

出  处:《无线互联科技》2020年第3期48-49,共2页Wireless Internet Technology

基  金:2018年度湖南省教育厅科学研究项目,项目编号:18C1528。

摘  要:针对日志格式异构造成的日志解析局限性问题,文章介绍了一种基于正则表达式日志数据分组提取的方法,采用日志格式描述与日志内容解析相分离的策略,使用XML语言编写日志格式描述和日志数据项说明的脚本文档,该脚本文档与日志类别相对应,与具体的解析程序分离,提高了日志解析系统的灵活性和扩展性。Aiming at the limitation of log parsing caused by the heterogeneity of log format, this paper introduces a method of log data group extraction based on regular expression, which adopts the strategy of separating log format description from log content parsing, and uses XML language to write the script document of log format description and log data item description. The script document corresponds to the log category and specific the separation of parsers improves the flexibility and expansibility of log parsing system.

关 键 词:日志解析 正则表达式 可扩展标记语言 

分 类 号:TP311.13[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象