Logging Analytics: REST API based log collection
- Services: Logging Analytics
- Release Date: August 28, 2023
If you want to collect logs from a service through a REST API, then follow these steps to set up the log collection from Oracle Logging Analytics using REST API by specifying the time range in which the logs are generated.
This is a recommended method when you want to automate the process of log collection for predefined periods from environments like OCI service, Fusion Apps, ERP application, or any other log-emitting cloud application. The macros available with the source definition enable you to specify how to collect logs continuously from incremental time ranges, to specify an offset for the collection from a particular start time, or collect logs in a particular time window.