Introduction

Log Archiving allows you to forward logs from OpsRamp to your own cloud storage system for long-term retention. This helps you meet compliance requirements, support audits, and investigate historical application or infrastructure issues without keeping logs in hot storage.
OpsRamp supports log archiving to Amazon S3 and Microsoft Azure Blob Storage. Archived logs are forwarded to customer-managed cloud storage after the configured retention period expires.

The log archival capability includes the following enhancements:

  • Create and manage multiple archival configurations within a tenant.
  • Configure up to 5 archival configurations.
  • Enable or disable individual archival configurations independently without affecting other configurations.
  • Use filter-based archival policies to archive different categories of logs to separate storage locations.
  • Configure overlapping filters across multiple archival configurations when required.
  • Select either Amazon S3 or Azure Blob Storage as the archival destination.

Accessing Log Archiving Settings

To configure log archiving:

  1. Navigate to Infrastructure > Logs.
  2. Click the menu icon and select Logs Configuration.
  3. Open the Settings tab.
  4. Select the Archiving sub‑tab.

The Archiving page displays the following information for each archival policy:

FieldDescription
Policy NameName of the archival configuration.
Bucket NameCloud storage bucket where logs are archived.
Filter QueryQuery used to determine which logs are archived.
ProviderCloud storage provider associated with the archival configuration.
StatusIndicates whether the archival configuration is enabled or disabled.
Storage TypeType of storage configured for log archival.

AWS Configuration

FieldDescription
ProviderSelect AWS.
Storage TypeDisplays Amazon S3.
Policy NameEnter a unique name for the archival configuration.
Bucket NameEnter the name of the Amazon S3 bucket where archived logs are stored. The bucket name must be lowercase.
RegionSelect the AWS region where the S3 bucket is hosted (for example, us-east-1 or ap-southeast-3).
External IDOptional external ID used during AWS IAM role creation. Enter this value when configuring the IAM role in AWS.
Role ARNEnter the ARN of the IAM role that grants OpsRamp permission to write logs to the S3 bucket.
Filter(Optional) Define conditions to archive only logs that match the specified criteria.


Azure Blob Storage Configuration

FieldDescription
ProviderSelect Azure.
Storage TypeDisplays Azure Blob Storage.
Policy NameEnter a unique name for the archival configuration.
Container NameEnter the name of the Azure Blob Storage container where archived logs are stored. The container name must be lowercase.
Connection StringEnter the Azure Storage connection string for the storage account that contains the target container.
Filter(Optional) Define conditions to archive only logs that match the specified criteria.


Filtering Logs for Archiving

OpsRamp allows you to optionally filter which logs are archived.

Filter Option

  • Click + Filter to add a filter condition.
  • Only logs that match the specified filter criteria are forwarded to the configured cloud storage destination.
  • The filter is optional:
    • If no filter is configured, all logs associated with the client are archived.
  • Filters apply to all supported archival providers, including Amazon S3 and Azure Blob Storage.

This option helps you control storage costs and archive only the logs that are relevant for compliance or long‑term analysis.

Overlapping Filter Queries

When creating or updating an archival configuration, if the specified filter query matches a filter already used in another archival configuration, OpsRamp displays a warning message as shown below:

You can:

  • Allow to continue creating the configuration and archive the same logs to multiple buckets.
  • Cancel to modify the filter query and avoid duplicate archival.