DPI-based log template processing method and device

The invention relates to a DPI-based log template processing method and apparatus. The method comprises the steps of obtaining a plurality of preset log output fields and a plurality of preset log filtering rules; determining one or more log templates based on each service demand of the machine room...

Full description

Saved in:
Bibliographic Details
Main Authors ZHANG XINBO, CHENG WEI
Format Patent
LanguageChinese
English
Published 13.10.2023
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention relates to a DPI-based log template processing method and apparatus. The method comprises the steps of obtaining a plurality of preset log output fields and a plurality of preset log filtering rules; determining one or more log templates based on each service demand of the machine room link and the corresponding log output format; matching a corresponding output field and a filtering rule based on each log template, and screening or filtering the message data of the machine room link; and storing the screened or filtered message data as one or more log records. The log template is defined through the fields and the filtering rules, customization and diversification of the log template are achieved, the development efficiency is improved, maintenance is convenient, and human resources are saved. 本发明涉及一种基于DPI的日志模板的处理方法及装置,其方法包括:获取预设的多个日志输出字段和预设的多个日志过滤规则;基于机房链路的每种业务需求及其对应的日志输出格式,确定一个或多个日志模板;基于每个日志模板匹配对应的输出字段和过滤规则,对机房链路的报文数据进行筛选或过滤;将筛选或过滤后的报文数据,存储为一条或多个日志记录。本发明通过字段和过滤规则定义日志模板,实现了日志模板定制化、多样化,提高了开发效率,
Bibliography:Application Number: CN202310749725