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.
On this page
Related information
You may also be interested in the API methods included in Archive logs and Connect to AWS S3 Buckets.
To set up archiving in AWS
Archiving with AWS S3 is only available for accounts in the following AWS regions: US East (Northern Virginia), Asia Pacific (Sydney), Canada (Central), Europe (Frankfort), Europe (London)
Before you begin, you’ll need:
- An AWS S3 bucket with appropriate permissions. The recommended permissions are
PutObject
,ListBucket
, andGetObject
. Learn more
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.
- To set up an IAM role, see Give AWS access with IAM roles.
- To set up an access key, see Give AWS access with access keys
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 archiving in Microsoft Azure
Archiving with Microsoft Azure is only available for accounts in the following Azure regions: West Europe (Netherlands) and West US 2 (Washington)
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.