Set Up Activity Log

Important: Between March 16 and March 31, 2026, the Activity Log feature in Tableau Cloud migrated to Hyperforce. For details on required policy updates and new folder structures, see About the Hyperforce migration.

The Activity Log contains detailed events for your Tableau deployment that you can use for compliance, monitoring, and auditing. You must complete the following steps in order to use Activity Log.

Prerequisites

To use the Activity Log, you must have the following:

  • Tableau Cloud with Advanced Management

  • Amazon Web Services (AWS) account

  • Amazon Simple Storage Service (S3) bucket to receive data

  • AWS Key Management Service (KMS) single-region key for the Amazon S3 bucket that you create during setup.

About the Hyperforce migration

In March 2026, the Activity Log feature migrated to Hyperforce to enhance compliance and improve security, privacy, and regional availability. This infrastructure change moved Activity Log to a regional architecture, which requires the use of region-specific IAM roles for log delivery.

Policy requirements

S3, KMS, and VPC policies require the IAM role and ID specific to the region where your site is hosted. These region-specific Hyperforce values replace the previous Tableau IAM role (arn:aws:iam::061095916136:role/prod-replication-rule-role) and ID (AROAQ4OMZWJUBZG3DRFW5). Use the Role mapping by region table to find the correct values for your site.

For more information about the migration, see Changes to Tableau Cloud Activity Log Due to Hyperforce Migration(Link opens in a new window) in Salesforce Help.

Folder structure

The migration to Hyperforce updated the organization of event files in S3 buckets to a hierarchy based on the date and hour the events were processed.

Before migration After migration
Storage pattern eventCategory={}/ts={}/FILE y={}/m={}/d={}/h={}/eventType={}/FILE
Example S3 path eventCategory=security/ts=20250802T064500Z/part-0-32708-online y=2025/m=08/d=02/h=06/eventType=activity_log_settings_change/ActivityLog-88974c0f-d35a-4743-bd55-7fccce1d54a7-0-346425.txt

Event attributes

Activity Log events recorded on Hyperforce include the eventProcessedTime attribute. This attribute represents the approximate timestamp of when the event became available in the Activity Log. For more information, see Activity Log Site Event Type Reference.

Step 1. Create an AWS account

If you don't already have an Amazon Web Services (AWS) account, you can sign up for an AWS account(Link opens in a new window) at the AWS website.

Step 2. Create an Amazon S3 bucket and set up permissions

  1. Create an Amazon S3 bucket to receive your log data. For more information, see Creating a bucket(Link opens in a new window) at the AWS website.

  2. Configure the Amazon S3 bucket with the following settings:

    1. Under Object Ownership, select ACLs disabled (recommended). This ensures that the bucket owner is the owner of all objects written to it.

    2. Under Bucket Versioning, select Enable. Bucket versioning must be enabled in order to replicate objects.

    3. Under Default encryption, select Enable.

    4. Choose AWS Key Management Service (SSE-KMS).

    5. Choose Enter AWS KMS key ARN.

    6. Click the Create key button that appears to create a new AWS Key Management Service (KMS) key.

      Note: KMS multi-region keys aren't supported.

    7. Select Symmetric Key type and Encrypt and decrypt Key usage.

    8. Name the key with an alias, and then click through until the Review page.

    9. Add this statement to the key policy Statement list. Use the Role mapping by region table to find your region-specific role, and then replace HYPERFORCE-IAM-ROLE.

      {
          "Sid": "AllowTableauS3ReplicationSourceRoleToUseTheKey",
          "Effect": "Allow",
          "Principal": {
              "AWS": [
                  "HYPERFORCE-IAM-ROLE"
              ]
          },
          "Action": [
              "kms:GenerateDataKey",
              "kms:Encrypt"
          ],
          "Resource": "*"
      }

      Note: This statement allows the Hyperforce IAM role to encrypt the objects placed in the Amazon S3 bucket. For more information, see Using server-side encryption with AWS KMS keys (SSE-KMS)(Link opens in a new window) at the AWS website.

      • "kms:GenerateDataKey" is used to generate a data key to encrypt object replicas.

      • "kms:Encrypt" is used to encrypt object replicas created in the target S3 bucket.

      • "Resource": "*" grants permission for the KMS key only to the replication role and doesn't allow the role to elevate its permissions.

    10. Click Finish to create the KMS key.

    11. Click Create bucket to create the Amazon S3 bucket.

  3. Update permissions on the Amazon S3 bucket policy.

    1. Open the Amazon S3 bucket and click the Permissions tab.

    2. Locate the Bucket policy section and click Edit.

    3. Add this statement to the bucket policy Statement list.

      • Replace S3-BUCKET-NAME with the name of the bucket.

      • Use the Role mapping by region table to find your region-specific role, and then replace HYPERFORCE-IAM-ROLE.

      {
          "Sid": "TableauS3ReplicationRoleAccess",
          "Effect": "Allow",
          "Principal": {
              "AWS": [
                  "HYPERFORCE-IAM-ROLE"
              ]
          },
          "Action": [
              "s3:ReplicateObject",
              "s3:ReplicateDelete"
          ],
          "Resource": [
              "arn:aws:s3:::S3-BUCKET-NAME",
              "arn:aws:s3:::S3-BUCKET-NAME/*"
          ]
      }

      Note: This statement allows the Hyperforce IAM role to replicate objects into the bucket. For more information, see Granting permissions when the source and destination buckets are owned by different AWS accounts(Link opens in a new window) at the AWS website.

      • Using "*" and "<path>/*" grants access to all prefixes in the specified bucket and path in the bucket.

      • The "s3:ReplicateObject" and "s3:ReplicateDelete" permissions are the minimum permissions required to successfully replicate objects and delete markers.

    4. Optional. If your destination bucket has a policy that restricts access through an Amazon Virtual Private Cloud (VPC) endpoint, you must change the bucket policy in addition to the TableauS3ReplicationRoleAccess that you just added. For more information, see How do I allow only specific VPC endpoints or IP addresses to access my Amazon S3 bucket?(Link opens in a new window) at the AWS website.

      If the current bucket policy contains a VPC restriction like this:

      {
          "Sid": "Restricted VPC Access",
          "Effect": "Deny",
          "Principal": "*",
          "Action": "s3:*",
          "Resource": [
              "arn:aws:s3:::S3-BUCKET-NAME",
              "arn:aws:s3:::S3-BUCKET-NAME/*"
          ],
          "Condition": {
              "StringNotEquals": {
                  "aws:SourceVpc": "vpc-<ID>"
              }
          }
      }

      Then edit the "Condition" list. Use the Role mapping by region table to find your region-specific role and role ID, and then replace HYPERFORCE-IAM-ROLE and HYPERFORCE-IAM-ROLE-ID.

      "StringNotLike": {
          "aws:userId": ["HYPERFORCE-IAM-ROLE-ID:*"]
      },
      "ArnNotLike": {
          "aws:PrincipalArn": "HYPERFORCE-IAM-ROLE"
      }

      The edited policy should look like this:

      {
          "Sid": "Restricted VPC Access",
          "Effect": "Deny",
          "Principal": "*",
          "Action": "s3:*",
          "Resource": [
              "arn:aws:s3:::S3-BUCKET-NAME",
              "arn:aws:s3:::S3-BUCKET-NAME/*"
          ],
          "Condition": {
              "StringNotLike": {
                  "aws:userId": ["HYPERFORCE-IAM-ROLE-ID:*"]
              },
              "ArnNotLike": {
                  "aws:PrincipalArn": "HYPERFORCE-IAM-ROLE"
              },
              "StringNotEquals": {
                  "aws:SourceVpc": "vpc-<ID>"
              }
          }
      }

      This policy explicitly allows the Hyperforce IAM role to ReplicateObject and ReplicateDelete. It also excludes the role from the existing explicit VPC deny statement.

    5. Click Save changes.

Role mapping by region

Use this table to find your region-specific role and ID when configuring S3, KMS, and VPC policies.

Location Hyperforce region Pod (Pod name) Hyperforce IAM role Hyperforce IAM role ID
Asia Pacific

Australia

ap-southeast-2

prod-apsoutheast-a

arn:aws:iam::667498515984:role/prod-replication-rule-role

AROAZW2QDBYIELBSU3VDC

India ap-south-2 prod-in-a arn:aws:iam::119877853097:role/prod-replication-rule-role AROARX2KG36USNTHK2AAX

Indonesia

ap-southeast-3

prod-apsoutheast-c

arn:aws:iam::892386869973:role/prod-replication-rule-role

AROA47RTHALKXJHOEM32G

Japan

ap-northeast-1

prod-apnortheast-a

arn:aws:iam::349070092441:role/prod-replication-rule-role

AROAVCRRS5CM6KOVJGVDJ

Singapore

ap-southeast-1

prod-apsoutheast-b

arn:aws:iam::005102551263:role/prod-replication-rule-role

AROAQCMBCYDP4EQ7BSYPQ

South Korea ap-northeast-2 prod-kr-a arn:aws:iam::943538517075:role/prod-replication-rule-role AROA5XL2HGRJVG2MZNCKD
Canada

Quebec

ca-central-1

prod-ca-a

arn:aws:iam::075540750887:role/prod-replication-rule-role

AROARDFUUMITZCISXK6GD

Europe Germany eu-central-1

dub01 (DUB01)

arn:aws:iam::337853574888:role/prod-replication-rule-role AROAU5KNEN3UM57STAJFK

eu-west-1a (EW1A)

Switzerland eu-central-2 prod-ch-a arn:aws:iam::623102672691:role/prod-replication-rule-role AROAZCE6QH4Z33FOSZXGJ
UK

eu-west-2

prod-uk-a

arn:aws:iam::112108976196:role/prod-replication-rule-role

AROARUGRXHBCNE3KR64LZ

United States - West Oregon us-west-2

10ax (10AX)

arn:aws:iam::675003682462:role/prod-replication-rule-role AROAZ2KK2Z2PMO2HWNLWH

10ay (10AY)

10az (10AZ)

uw2b (UW2B)

prod-uswest-c

United States - East Virginia us-east-1

prod-useast-a

arn:aws:iam::792479604904:role/prod-replication-rule-role AROA3RA3XECUCMUTXI34R

prod-useast-b

us-east-1 (useast-1)

prod-useast-c

Step 3. Configure Tableau Cloud

  1. Navigate to your Tableau site.

  2. On the Settings page, select the Integrations tab.

  3. In the Activity Log section, select the Enable button.

  4. In the Set Up Connection dialog box, enter the following information:

    1. In the AWS account number box, enter your 12-digit AWS account number. This is the AWS account number associated with your Amazon S3 bucket location.

    2. In the S3 bucket name box, enter the name of the Amazon S3 bucket where Activity Log files will be delivered. This is the Amazon S3 bucket you created in Step 2. Create an Amazon S3 bucket and set up permissions. This must be a valid name according to AWS bucket name requirements.

    3. In the KMS key ARN box, enter the KMS key Amazon Resource Name (ARN) that you created in Step 2. Create an Amazon S3 bucket and set up permissions. The account number in the ARN must match the provided AWS account number, and be of valid format (i.e. arn:aws:kms:<region>:<account-id>:key/<key-id>).

  5. Click Submit.

    The connection status column will show In progress as the system attempts to replicate a text file to the target Amazon S3 bucket to test the connection.

    After the file has been successfully replicated to the target Amazon S3 bucket, the connection status column will state Pending verification and display a widget to input 'Test file contents'. You might need to refresh the page to see updates.

Verify security file replication

  1. Go to the target Amazon S3 bucket and find the folder beginning with siteLuid (the remainder of the name is the site's unique identifier).

  2. Find the text file named SECURITY_VERIFICATION_FILE.txt.

  3. Download and open the text file.

  4. Copy the text content inside the file.

  5. Return to the Settings page and paste the text contents into the Text file contents input field, and then click Submit.

  6. If the submitted content is correct, the connection status changes to Active. Activity Log is now enabled, and data will begin to replicate to the target Amazon S3 bucket.

  7. If the submitted content is incorrect, an error message will be displayed. Check that the content was copied correctly without extra characters or spaces.

Troubleshooting

Security verification file not appearing?

Other settings that are required for log files to reach the Amazon S3 bucket

  • The Amazon S3 bucket has Bucket Versioning enabled (under Properties > Bucket Versioning).

  • The Amazon S3 bucket has Block all public access enabled (under Permissions > Block public access (bucket settings)).

  • The Amazon S3 bucket has the following ACL permissions for only "Bucket owner" (under Permissions > Access Control List (ACL)):

    • Objects: List, Write

    • Bucket ACL: Read, Write

  • The KMS key permissions policy contains the statement in Step 2. Create an Amazon S3 bucket and set up permissions, step 2. i. (under Properties > Default encryption click on the ARN under AWS KMS Key ARN to go to the KMS key policy).

  • The Amazon S3 bucket has default encryption enabled and bucket key enabled (under Properties > Default encryption).

  • The Amazon S3 bucket permissions policy (under Permissions > Bucket Policy) exactly matches the one in the instructions. Ensure that you have replaced the example value "S3-BUCKET-NAME" with the Amazon S3 bucket you just created.

AWS region change for sites on Europe - Ireland pods

Between August 2024 to March 2025, Tableau Cloud sites were migrated to Salesforce's Hyperforce(Link opens in a new window). As part of the migration, pods in the Ireland region moved to the Germany region. If your site resided on a pod in the Ireland region, you'll need to reconfigure Activity Log to use an AWS S3 bucket in the new region, Germany.

Thanks for your feedback!Your feedback has been successfully submitted. Thank you!