Ingest Application, Infrastructure, Database and Other Generic Logs
Create the File type of log source to collect logs from your applications, infrastructure, databases, or most other type types of logs.
Oracle Log Analytics provides a large set of Oracle-defined log sources of the source type File. You can view them in the sources listing page by filtering the sources of creation type Oracle-defined, and source type File.
For an automated flow to collect File logs from OCI Compute instance by enabling the Management Agent plug-in on the Oracle Cloud Agent (OCA), see Ingest Logs from OCI Compute Instance. Oracle Cloud Agent is pre-installed on the OCI Compute instance when the instance is created. Additionally, Oracle Log Analytics plug-in is deployed on the Management Agent in the automated flow.
Overall Flow for Collecting
Logs for File Source Type
The following are the high-level tasks for collecting log information from your host:
-
Install Management Agents on your log-emitting hosts. See Set Up Continuous Log Collection Using Management Agent.
-
Create the entity. See Create an Entity to Represent Your Log-Emitting Resource.
- Identify a log source from the existing set of sources, both Oracle-defined and user-defined. If the existing source is not suitable for your requirement, then create a source. See Create a Log Source of Type: File.
-
Associate the entities with the source that you created earlier. See Configure New Source-Entity Association.
After the association is complete, the logs start flowing into Oracle Log Analytics.
-
View log data in the Log Explorer by selecting the Windows Event source that you created earlier. See Filter Logs by Source Attributes.