CPC G06F 16/1734 (2019.01) [G06F 11/3476 (2013.01)] | 14 Claims |
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.
|