Wednesday, November 23, 2022

Oracle Cloud Infrastructure Logging

 One of the unique areas of OCI is its logging. Not only its different from rest of the providers, it so easy to implement and manage. It covers the whole lifecycle of the resources in the cloud.

OCI Media Flow uses the Oracle Cloud Infrastructure Logging service to manage logging. In order to understand this  better, you need to know about overview for general information on logging, including how to name log files and create log groups. 

Media Flow is a fully managed service for configuring content processing workflows that can be used to process video source content. The processing includes transcoding, thumbnail generation, ABR packaging, and integration with OCI AI services such as Speech, Language, and Vision.

The Oracle Cloud Infrastructure Logging service is a highly scalable and fully managed single pane of glass for all the logs in your tenancy. Logging provides access to logs from Oracle Cloud Infrastructure resources. These logs include critical diagnostic information that describes how resources are performing and being accessed. 

A log is a first-class Oracle Cloud Infrastructure resource that stores and captures log events collected in a given context. For example, if you enable Flow Logs on a subnet, it has its own dedicated log. Each log has an OCID and is stored in a log group. A log group is a collection of logs stored in a compartment. Logs and log groups are searchable, actionable, and transportable. Diagnostic information from custom applications, other cloud providers, or an on-premise environment. To ingest custom logs, call the API directly or configure the unified monitoring agent.

Logs are indexed in the system, and searchable through the Console, API, and CLI. You can view and search logs on the Logging Search page. When searching logs, you can correlate across many logs simultaneously. For example, you can view results from multiple logs, multiple log groups, or even an entire compartment with one query. 

You can filter, aggregate, and visualize your logs. Read-only logs from the Audit service, provided for you to analyze and search. Audit logs capture the information about API calls made to public endpoints throughout your tenancy. These include API calls made by the Console, Command Line Interface (CLI), Software Development Kits (SDK), your own custom clients, or other Oracle Cloud Infrastructure services. 

Each service in Oracle Cloud Infrastructure integrates with IAM for authentication and authorization, for all interfaces (the Console, SDK or CLI, and REST API).

No comments: