Why it matters
Most log searches, dashboards and alerts look at recent data, while older data stays in active storage and is billed at the full rate.How nOps finds it
nOps reads OCI Log Analytics storage billing. Active storage must be billed on at least 30 of the last 31 days, archival storage must be under 20% of active, and active storage must not have fallen in the last 37 days. The share older than 30 days is measured as the storage held 30 days ago divided by the storage held now. The saving is the last 7 days of active storage cost, scaled to a month, times that share, times the difference between Oracle’s archival list price ($0.02 per 300 GB unit per hour) and the active rate you pay. It must be at least $5 a month, and tenancies with 90% or more of Log Analytics spend covered by credits are left out.Before you start
Confirm data older than 30 days is not needed for interactive searches, dashboards or alerts.How to implement
- Check which searches, dashboards and alerts read data older than 30 days.
- In the OCI Console, open Log Analytics → Administration → Storage and enable archiving with an active period of 30 days.
- Check the next week’s billing for archival storage replacing part of active storage.
Risks and considerations
- Archived data must be recalled before it can be searched again, and recalling it is charged.
- To roll back, turn archiving off or lengthen the active period; recall any archived data you need active again.