US 12,117,967 B2
Method and apparatus for parsing log data
Hee Suk Lee, Seoul (KR); Kyong Hyon Park, Seoul (KR); and Young Do Kim, Seoul (KR)
Assigned to SAMSUNG SDS CO., LTD., Seoul (KR)
Filed by SAMSUNG SDS CO., LTD., Seoul (KR)
Filed on Jun. 9, 2022, as Appl. No. 17/836,059.
Claims priority of application No. 10-2021-0103838 (KR), filed on Aug. 6, 2021.
Prior Publication US 2023/0040539 A1, Feb. 9, 2023
Int. Cl. G06F 16/00 (2019.01); G06F 11/34 (2006.01); G06F 16/17 (2019.01)
CPC G06F 16/1734 (2019.01) [G06F 11/3476 (2013.01)] 14 Claims
OG exemplary drawing
 
1. A method for parsing log data performed by a computing device, the method comprising:
loading a plurality of unit logs identified by first-parsing log data in a two-dimensional matrix into a memory, wherein the log data comprises a plurality of raw unit logs, and each of the plurality of unit logs constitutes one row and comprises items that are parsed from a plurality of items of each of the plurality of raw unit logs;
determining a target item to be second-parsed among the items loaded into the memory;
dividing data of the target item into a plurality of sub-items by second-parsing the data of the target item, among the items loaded in the two-dimensional matrix into the memory; and
storing a second-parsing result including the plurality of sub-items,
wherein the loading of the plurality of unit logs in the two-dimensional matrix into the memory comprises:
identifying a log format that corresponds to a type of the log data, among pre-stored log formats that are different for each type of log data, wherein the log format provides an order and a definition of each item in a raw unit log of the log data;
determining at least one item that are indexed in the identified log format, the at least one item being a subset of a plurality of items included the raw unit log; and
first-parsing a unit log, including the indexed at least one item, and loading the unit log into the memory.