Archive Log Data

Create an Archive Policy to specify the duration after which the log data will be automatically moved to archive storage which is available at a lesser cost. You can also recall the archived log data for active use.

Note:

The Archive Policy feature is available only when your Oracle Management Cloud instance is running on Oracle Cloud Infrastructure.

Archive Policy: Typically, after upload, the log data is available in hot storage for active use such as display and analysis in Oracle Log Analytics. To optimize the storage cost, you can create an archive policy that moves the log data from hot storage to cold storage (archive), after the specified number of days from the log's timestamp.

In the archive policy, you can also specify the number of days after which the logs in the archive storage are deleted automatically.

Recall Archived Logs: After the log data is archived, during the archival period, you can recall the select log data for active use. The logs are selected for recall by specifying the time range in which the timestamps of the logs are present. You can also release the recalled logs back to the archive pool after active use. Note that the recalled data will count towards your storage usage until you release it.

Note:

Your archive policy and recall activity may not complete if the timelines overlap with the purge policy. Ensure to review your purge policy and archive policy to avoid losing log data that can be easily archived.

To optimize your storage cost, you may also want to consider generating metrics for your logs by identifying the key performance indicators. You can store these metrics longer than the actual logs. See Generate Log Metrics.