Contact us at [email protected] if you're having trouble setting up archiving to your S3-compatible storage service.
Explore documentation
Archive your logs in AWS S3 or a compatible storage service.
Archiving with AWS S3
- In the AWS Management Console
- Create a new S3 Bucket and write down its name and region.
- Create a new user in IAM with Programmatic access and configure the permissions to have read and write access to your new bucket. Write down the access key ID and the access secret key.
- Make sure your bucket is not publicly accessible.
- In the Logtail Integrations section
- Add new AWS S3-compatible archive integration.
- Give your integration a name.
- Fill in the bucket name and region from step 1.1
- Fill in your credentials from step 1.2
- If you entered all information correctly and if you set up the access privileges correctly, you'll see a confirmation message and you will find a
logtail_access_test
text file in your Bucket.
- In the advanced settings of your source, you can now select the integration under the Long-term log archive setting
Archiving with DigitalOcean Spaces
- In the DigitalOcean console
- Create a new Space with** Restrict File Listing** and write down its name *and *region.
- In the API section generate a new key. Write down the *Key *and *Secret *of the new key.
- In the Logtail Integrations section
- Add new AWS S3-compatible archive integration.
- Give your integration a name.
- Select "DigitalOcean Spaces".
- Fill in the bucket *field with the *space name and also set the DigitalOcean region
- Fill in your credentials from step 1.2
- Key *corresponds to *Access Key ID
- Secret **corresponds to Secret Access Key**
- If you entered all information correctly and if you set up the access privileges correctly, you'll see a confirmation message and you will find a
logtail_access_test text
file in your Space.
- In the advanced settings of your source, you can now select the integration under the Long-term log archive setting
Archiving with Backblaze B2
- Log in to your Backblaze B2 account
- Create a new Private *bucket and write down its *name *and *region
- In the App Keys section add a new application key with read and write access to the new bucket. Write down *keyID *and *applicationKey *(secret).
- In the Logtail Integrations section
- Add new AWS S3-compatible archive integration
- Give your integration a name
- Select "Backblaze B2"
- Fill in the bucket name and the *region *(include region number, e.g.
us-west-002
) - Fill in your credentials from step 1.2
- keyID *corresponds to *Access Key ID
- applicationKey *corresponds to *Secret Access Key
- If you entered all information correctly and if you set up the access privileges correctly, you'll see a confirmation message and you will find a
logtail_access_test text
file in your Bucket.
- In the advanced settings of your source, you can now select the integration under the Long-term log archive setting
Archiving with other S3-compatible storage services
- Create a new bucket in your S3-compatible service of choice
- Create an access key and write down the access key ID and the** secret key**
- In the Logtail Integrations section
- Add new AWS S3-compatible archive integration
- Give your integration a name
- Select "Other"
- Fill in the credentials (access key ID and secret access key)
- In "Advanced settings" fill in the *endpoint *of your bucket in the path-style format (e.g.,
https://<region>.digitaloceanspaces.com/<bucket-name>
).
- In the advanced settings of your source, you can now select the integration under the Long-term log archive setting