Archive settings

You can archive logs to either an Amazon S3 bucket or a Microsoft Azure Storage container.

The Logz.io archiver copies all incoming logs to your selected storage container. The data is archived in its “raw” state ~ pre-indexing and pre-mapping.

Each account (or sub-account) should have its own archive configuration.

On this page
  1. To set up Archive and restore in AWS
    1. Enter your bucket information and S3 credentials
    2. Test your connection and save
    3. Switching between IAM roles and Access keys
  2. To set up Archive and restore in Microsoft Azure
    1. Enter your container information and credentials
    2. Test your connection and save
  3. Restore archived logs

Related information

You may also be interested in the API methods included in Archive logs and Connect to AWS S3 Buckets.

To set up Archive and restore in AWS

Before you begin, you’ll need:

Enter your bucket information and S3 credentials

Select an authentication method. You can choose to authenticate with an IAM role or an access key.

For stronger security, we recommend authenticating with an IAM role.

Select a path to the root of an S3 bucket, to support data restore options. Data cannot be restored from a sub-bucket path.

Test your connection and save

Click Test connection to make sure your bucket name and credentials are valid and have the right permissions.

If everything checks out, click Start archiving to save your settings. From now on, Logz.io will archive your logs as they come in. You can stop archiving at any time.

Switching between IAM roles and Access keys

If you need to change your S3 configuration — including switching between access key and IAM role authentication — make the changes in the Settings tab and click Update settings.

You can remove your credentials from Logz.io at any time by clicking Pause archiving and selecting Remove my S3 settings in the confirmation box.

To set up Archive and restore in Microsoft Azure

Before you begin, you’ll need:

  • A Storage container with an App registration with appropriate permissions. Learn more
Enter your container information and credentials

Fill in the form with the requested container information and IDs. Detailed instructions

Test your connection and save

Click Test connection to make sure Logz.io can connect to your container and has the right permissions.

If everything checks out, click Start archiving to save your settings. From now on, Logz.io will archive your logs as they come in. You can stop archiving at any time.

Restore archived logs

Restoring your archived logs will re-ingest them into a temporary account. You can search and navigate the restored account directly from your Logs account.

Restoring archived logs lets you view data in its original detail, allowing you to investigate events that are older than your plan’s retention period.

Learn more about how to manage your restored accounts.