You can enable s3 archiving for your logs as follows.

1. Configure S3 bucket

  1. Sign in to AWS Management Console

  2. Click services on the menu bar, click S3 under storage tab. Create new S3 bucket.

  3. Open your bucket and click on the Permissions tab.

  4. Scroll down and click the Edit button in the Bucket policy.

  5. Paste the following policy JSON into the Bucket policy section.

Make sure to replace YOUR_BUCKET_NAME with the actual name of your bucket.

copy
icon/buttons/copy
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AtatusLogBucketAccess",
      "Effect": "Allow",
      "Principal": {
        "AWS": [
          "arn:aws:iam::431904702782:root"
        ]
      },
      "Action": [
        "s3:ListBucket"
      ],
      "Resource": "arn:aws:s3:::YOUR_BUCKET_NAME"
    },
    {
      "Sid": "AtatusLogObjectAccess",
      "Effect": "Allow",
      "Principal": {
        "AWS": [
          "arn:aws:iam::431904702782:root"
        ]
      },
      "Action": [
        "s3:PutObject",
        "s3:DeleteObject"
      ],
      "Resource": "arn:aws:s3:::YOUR_BUCKET_NAME/*"
    }
  ]
}

6. Click Save changes.


2. Set up Archive in Atatus dashboard

  1. Navigate to Logs -> Archives menu.

  2. Click Create New Archive button.

    Atatus APM Dashboard

  3. Enter your S3 Bucket name and Path.

  4. Enter your archive name, then click Save.