US 11,681,865 B2
Annotating a log based on log documentation
Yuk Lung Chan, Rochester, NY (US); Tian Wu, Beijing (CN); Lei Yu, Sleepy Hollow, NY (US); Jia Qi Li, Beijing (CN); Hong Min, Hopewell Junction, NY (US); and Fan Jing Meng, Beijing (CN)
Assigned to International Business Machines Corporation, Armonk, NY (US)
Filed by International Business Machines Corporation, Armonk, NY (US)
Filed on Sep. 23, 2021, as Appl. No. 17/482,531.
Prior Publication US 2023/0093225 A1, Mar. 23, 2023
Int. Cl. G06F 40/169 (2020.01); G06N 20/00 (2019.01); G06F 40/186 (2020.01); G06F 40/242 (2020.01)
CPC G06F 40/169 (2020.01) [G06F 40/186 (2020.01); G06F 40/242 (2020.01); G06N 20/00 (2019.01)] 17 Claims
OG exemplary drawing
 
1. A computer-implemented method for annotating a log based on processing log documentation, the method comprising:
obtaining the log having a plurality of entries;
creating a set of log entry templates by processing the log documentation associated with the log, wherein each log entry template includes one or more constants and one or more variables; and
annotating each of the plurality of entries based on the set of templates, wherein the annotating includes labeling each value of the one or more variables with a variable name,
wherein the log documentation is documentation associated with one or more of pieces of equipment and software that write log messages to log and the log documentation includes an explanation of a structure and a content of log messages created by the one or more of pieces of equipment and software that write log messages to log,
wherein the processing of the log documentation includes creating a syntax tree by performing natural language processing and dictionary lookup on the log documentation to identify the one or more constants and the one or more variables that define each log entry template of the set of log entry templates.