Ingest Logs
You can load your logs into Oracle Logging Analytics using the Oracle Management Agent, uploading logs on-demand, collecting them from OCI Object Store, or using Service Connector.
Ensure to complete the prerequisites for configuring Oracle Logging Analytics. The permissions required to ingest logs are detailed in the corresponding section depending on the method of ingestion you select.
Typically, you would select one of these methods depending on your use case and how you are able to access the logs:
Log Collection Method | Description | More Information |
---|---|---|
Set Up Continuous Log Collection From Your Hosts Based on your source type, you can follow specific workflow too:
|
Install Management Agents on your on-premises hosts to continuously collect logs in Oracle Logging Analytics. This is a one-time setup.
|
Set Up Continuous Log Collection From Your Hosts
|
Upload Logs on Demand |
This is useful when you have log data from old applications that aren’t supported by the Oracle Management Agent or you want to load a log file a single time to analyze them. |
Upload Logs on Demand |
Upload Event Logs Using LogEvents API |
Use the LogEvents API to PUSH logs from your log-emitting host to Oracle Logging Analytics through an Oracle-provided endpoint. |
Upload Event Logs Using LogEvents API |
Collect Logs from Your Object Storage Bucket |
You can continuously collect log data that you have stored in an Oracle Cloud Object Store bucket. |
Collect Logs from Your OCI Object Storage Bucket |
Ingest Logs from Other OCI Services Using Service Connector |
Use the Service Connector to identify your Oracle Cloud Infrastructure service as the source of the logs and Oracle Cloud Logging Analytics as the destination and enable the log collection. |
Ingest Logs from Other OCI Services Using Service Connector |
Ingest Custom Logs from OCI Logging Service Using Service Connector |
If you have custom logs in OCI Logging service for which Oracle-defined parsers and sources are not available, then you can create your own parser and source. Create a service connector to establish connection with OCI Logging service and enable collection of your custom logs in Oracle Logging Analytics. |
Ingest Custom Logs from OCI Logging Service Using Service Connector |
Ingest Custom Logs from OCI Streaming Service Using Service Connector |
If you want to analyze and derive insights from your high-volume custom streaming data in OCI Streaming service, then create a service connector to establish connection with OCI Streaming service and enable collection of your custom logs in Oracle Logging Analytics. |
Ingest Custom Logs from OCI Streaming Service Using Service Connector |
Harvest Entity Model Data from Enterprise Manager Cloud Control and Collect Logs |
If you are an existing user of EMCC, then you can set up the EM Bridge and benefit from the automated set up that imports their entity model data like the entity associations, and properties information from EMCC into Oracle Logging Analytics. The entity association information is then used to construct the topology in Oracle Logging Analytics. To collect your logs from your targets in EMCC, follow the steps described. |
Harvest Entity Model Data from Enterprise Manager Cloud Control and Collect Logs |
Ingest Logs to OCI Logging Analytics Using Fluentd |
Use the open source data collector software, Fluentd to collect log data from your source. Install the OCI Logging Analytics Output Plugin to route the collected log data to Oracle Logging Analytics. |
Ingest Logs to OCI Logging Analytics Using Fluentd |
Auto-Discovery of Entities and Log Collection |
Initiate the discovery of entities like packaged applications, databases, middleware, and other components using the Stack Monitoring UI, collect logs from those entities, and view the entity topology. |
Auto-Discovery of Entities and Log Collection |
To ingest logs using a wizard in the console, see Use Add Data Wizard for Ingesting Logs.
To detect and troubleshoot the processing errors during ingestion, see Troubleshoot Ingestion Pipeline.
For some of the Oracle-defined solutions that cover end-to-end process for collecting logs from different applications, platforms, and infrastructure, see table Solutions and Marketplace Apps in Technical Resources at Your Finger Tips.
Use Add Data
Wizard for Ingesting Logs
The Add Data wizard available in the Administration page of Logging Analytics offers a ready interface to ingest logs through any of the following methods. Click Add Data om the Administration Overview page, expand the corresponding section in the Add Data page, and follow the guidelines in the wizard to ingest the logs. For more details about each of these ingestion methods, the required IAM policies, and step-by-step instructions to ingest logs without the wizard, follow the corresponding links below:
-
Monitor OCI resources: Ingest Logs from Other OCI Services Using Service Connector
-
Monitor with management agent: Set Up Continuous Log Collection From Your Hosts
-
Monitor Kubernetes: Kubernetes Solution
-
Security and Compliance: Ingest Logs from Other OCI Services Using Service Connector
-
Advanced collection methods: Upload Logs on Demand
When using Add Data wizard, you must be a member of the Administrators group with access to root compartment if you want to ingest logs using any of the following methods:
- Monitor OCI resources
- Monitor with management agent: Only if you must also configure the management agent
- Monitor Kubernetes (recommended)
- Security and Compliance
See The Administrators Group, Policy, and Administrator Roles.
For an example walk through of the steps to ingest OCI service logs using Add Data wizard, watch Video: How to Quickly Ingest Logs into Logging Analytics from Other OCI Services in Oracle Cloud Observability and Management Platform.