IP Library › Granted Patent US 12,204,495
Granted Patent B1
US 12,204,495 · App. 18/217,444 · Granted Jan 21, 2025

Utilizing structured logs of declarative computing environments

Inventors: Scott Miller (Meadville, PA); Joseph Evan Dunn (Tucson, AZ)
Assignee: International Business Machines Corporation
G06F16/164G06F16/13G06F16/148G06F16/172
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,204,495
App. No.
18/217,444
Filed
Jun 30, 2023
Granted
Jan 21, 2025
Kind
B1
Art Unit
2165
USPC
707/822
Abstract

A computer-implemented method, according to one approach, includes: receiving a structured log of information, and converting the structured log of information into a filesystem interface. Resources in the information are identified by inspecting the filesystem interface. The identified resources are also translated into an unstructured object by unmarshalling the identified resources. Furthermore, the unstructured object is made available by mapping the unmarshalled resources.

Claims (67)

1. A computer-implemented method, comprising:

receiving a structured log of information, wherein the structured log of information received is selected from the group consisting of: a .tar file, a .zip file, and a directory file, wherein a discovery cache is received along with the structured log of information;

converting the structured log of information into a filesystem interface;

identifying resources in the information while progressing through the filesystem interface, by:

inspecting portions of the filesystem interface,

identifying YAML extension files while progressing through the portions of the filesystem interface, and

in response to identifying a predetermined number of YAML extension files, ignoring a remainder of the portions of the filesystem interface;

use the discovery cache to determine subresources corresponding to the identified resources;

translating the identified resources and subresources into an unstructured object by unmarshalling the identified resources and subresources;

making the unstructured object available by mapping the unmarshalled resources and subresources; and

using the discovery cache to determine a short-name and category for each of the identified resources and subresources.

2. The computer-implemented method of claim 1 , wherein identifying resources in the information by inspecting the filesystem interface includes:

identifying column data formats in the information,

wherein the unmarshalled resources have same column data formats as a native cluster.

3. The computer-implemented method of claim 1 , wherein mapping the translated resources includes organizing the translated resources by a respective group version kind (GVK) identifier, a respective namespace identifier, or a respective GVK identifier and a respective namespace identifier.

4. The computer-implemented method of claim 1 , wherein making the unstructured object available includes:

hosting an application programming interface (API) service configured to provide a user access to the unmarshalled resources.

5. The computer-implemented method of claim 1 , wherein identifying resources in the information includes identifying YAML extension files in the information by progressing through the filesystem interface.

6. A computer program product, comprising a computer readable storage medium having program instructions embodied therewith, the program instructions readable by a processor, executable by the processor, or readable and executable by the processor, to cause the processor to:

receive a structured log of information and a corresponding discovery cache;

convert the structured log of information into a filesystem interface;

identify resources in the information by inspecting the filesystem interface;

use the discovery cache to determine subresources corresponding to the identified resources;

in response to determining that one or more subresources are available, parsing the available subresources from respective existing files, wherein the subresources include YAML extension files and/or printer column data formats;

translate the identified resources and subresources into an unstructured object by unmarshalling the identified resources and subresources; and

make the unstructured object available by mapping the unmarshalled resources.

7. The computer program product of claim 6 , wherein mapping the translated resources includes organizing the translated resources by a respective group version kind (GVK) identifier, a respective namespace identifier, or a respective GVK identifier and a respective namespace identifier.

8. The computer program product of claim 6 , wherein making the unstructured object available includes:

hosting an application programming interface (API) service configured to provide a user access to the unmarshalled resources.

9. The computer program product of claim 6 , wherein identifying resources in the information includes identifying YAML extension files in the information by:

progressing through the filesystem interface;

identifying resources in the filesystem interface; and

in response to determining that a number of resources in the filesystem interface is outside a predetermined range, merging the resources identified in the filesystem interface with resources identified in subsequent and/or previous filesystem interfaces.

10. The computer program product of claim 6 , wherein the structured log of information received is selected from the group consisting of: a .tar file, a .zip file, and a directory file

wherein the resources include YAML extension files and/or printer column data formats, wherein the subresources include select subsets of the YAML extension files and/or printer column data formats.

11. The computer program product of claim 10 , wherein the program instructions are readable and/or executable by the processor to cause the processor to:

use the discovery cache to determine a short-name and category for each of the identified resources.

12. The computer program product of claim 8 , wherein identifying resources in the information by inspecting the filesystem interface includes:

identifying column data formats in the information,

wherein the unmarshalled resources have same column data formats as a native cluster.

13. A system, comprising:

a processor; and

logic integrated with the processor, executable by the processor, or integrated with and executable by the processor, the logic being configured to:

receive a structured log of information and a corresponding discovery cache;

convert the structured log of information into a filesystem interface;

identify resources in the information while progressing through the filesystem interface, by:

inspecting portions of the filesystem interface,

identifying YAML extension files while progressing through the portions of the filesystem interface, and

in response to identifying a predetermined number of YAML extension files, ignoring a remainder of the portions of the filesystem interface;

use the discovery cache to determine subresources corresponding to the identified resources;

use the discovery cache to determine short-names and/or categories for the respective resources and subresources;

translate the identified resources and subresources into an unstructured object by unmarshalling the identified resources and subresources; and

make the unstructured object available by mapping the unmarshalled resources.

14. The system of claim 13 , wherein mapping the translated resources includes organizing the translated resources by a respective group version kind (GVK) identifier, a respective namespace identifier, or a respective GVK identifier and a respective namespace identifier.

15. The system of claim 13 , wherein making the unstructured object available includes:

hosting an application programming interface (API) service configured to provide a user access to the unmarshalled resources.

16. The system of claim 13 ,

wherein the subresources include select ones of the identified YAML extension files.

17. The system of claim 13 , wherein the structured log of information received is selected from the group consisting of: a .tar file, a .zip file, and a directory file, wherein a discovery cache is received along with the structured log of information, wherein the resources include YAML extension files and/or printer column data formats, wherein the subresources include select subsets of the YAML extension files and/or printer column data formats.

18. The system of claim 13 , wherein identifying resources in the information by inspecting the filesystem interface includes:

identifying column data formats in the information,

wherein the unmarshalled resources have same column data formats as a native cluster.

19. The computer-implemented method of claim 1 , wherein identifying resources in the information by inspecting the filesystem interface includes:

in response to determining that a number of resources in the filesystem interface is outside a predetermined range:

merging the resources identified in the filesystem interface with resources identified in subsequent and/or previous filesystem interfaces, and

re-progressing through the filesystem interface; and

in response to determining that a number of resources in the filesystem interface is inside the predetermined range, ignoring a remainder of the filesystem interface.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 6, 2023
From: MILLER, SCOTT; DUNN, JOSEPH EVAN
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 064167/0320 →
References Cited (14)
US 9516053B1 · Muddu · 2016 [cited by examiner]
US 9811546B1 · Bent · 2017 [cited by examiner]
US 11308035B2 · Prahlad · 2022 [cited by examiner]
US 11372868B2 · Reddekopp et al. · 2022 [cited by applicant]
US 11573973B1 · Vishnoi · 2023 [cited by examiner]
US 11922157B2 · Sharpe · 2024 [cited by examiner]
US 20040098415A1 · Bone · 2004 [cited by examiner]
US 20110167014A1 · Zhang · 2011 [cited by examiner]
US 20170109683A1 · Carbonell · 2017 [cited by examiner]
US 20220334725A1 · Mertes · 2022 [cited by examiner]
US 20220374218A1 · Monteiro Vieira · 2022 [cited by examiner]
Ekelhart et al., “The SLOGERT Framework for Automated Log Knowledge Graph Construction,” The Semantic Web: 18th International Conference (ESWC), Jun. 2021, pp. 1-16. [cited by applicant]
Redhat, “Gathering data about your cluster,” Red Hat OpenShift, 2023, 29 pages, retrieved from https://docs.openshift.com/container-platform/4.10/support/gathering-cluster-data.html. [cited by applicant]
Github, “O Must Gather (omg) v2 (Work in Progress),” GitHub, 2023, 3 pages, retrieved from https://github.com/kxr/o-must-gather. [cited by applicant]