US 11,947,415 B2
System and method for efficient real time log export and view in a micro services system
Mengze Liao, Shanghai (CN); Pankaj Pande, Carlingford (AU); Jinjin Wang, Shanghai (CN); and Scott Quesnelle, Burlington (CA)
Assigned to DELL PRODUCTS L.P., Round Rock, TX (US)
Filed by DELL PRODUCTS L.P., Round Rock, TX (US)
Filed on Jan. 13, 2022, as Appl. No. 17/574,906.
Prior Publication US 2023/0222028 A1, Jul. 13, 2023
Int. Cl. G06F 11/00 (2006.01); G06F 9/455 (2018.01); G06F 11/07 (2006.01)
CPC G06F 11/0784 (2013.01) [G06F 9/45558 (2013.01); G06F 11/0781 (2013.01); G06F 11/0787 (2013.01); G06F 2009/4557 (2013.01); G06F 2009/45591 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A computer-implemented method of exporting log messages in real time in a micro services system, comprising:
receiving, by a data protect manager, a request for exporting log messages related to a job completed in the micro services system, the request including a plurality of attributes of the job;
retrieving, by the data protect manager, one or more micro services from a mapping table based on values of the plurality of attributes, wherein the mapping table includes an entry for each unique combination of values of the plurality of attributes, the entry mapping the unique combination to a set of micro services;
selecting, by the data protect manager, a first set of one or more log files corresponding to the one or more micro services from a plurality of log files generated by the micro services system;
selecting, by the data protect manager, a second set of one or more log files from the first set of one or more log files, each of the second set of one or more log files generated within a period of time between a start time and an end time of the job; and
retrieving log messages containing an identifier of the job from the second set of one or more log files.