Logging QuickSight information with Amazon CloudTrail
Intended audience: System administrators |
CloudTrail is enabled on your Amazon account when you create the account. When supported event activity occurs in Amazon QuickSight, that activity is recorded in a CloudTrail event along with other Amazon service events in Event history. You can view, search, and download recent events in your Amazon account. For more information, see Viewing Events with CloudTrail Event History.
For an ongoing record of events in your Amazon account, including events for Amazon QuickSight, create a trail. A trail enables CloudTrail to deliver log files to an Amazon S3 bucket. By default, when you create a trail in the console, the trail applies to all Amazon Web Services Regions. The trail logs events from all Regions in the Amazon partition and delivers the log files to the Amazon S3 bucket that you specify. Additionally, you can configure other Amazon services to further analyze and act upon the event data collected in CloudTrail logs. For more information, see the following:
-
Receiving CloudTrail Log Files from Multiple Regions and Receiving CloudTrail Log Files from Multiple Accounts
-
Cross-Account CloudTrail Logging in the Amazon Lake Formation Developer Guide Guide – This topic includes instructions for including principal identities in cross-account CloudTrail logs.
Amazon QuickSight supports logging the following actions as events in CloudTrail log files:
-
Whether the request was made with root or Amazon Identity and Access Management user credentials
-
Whether the request was made with temporary security credentials for an IAM role or federated user
-
Whether the request was made by another Amazon service
For more information on user identity, see the CloudTrail userIdentity Element.
By default, each Amazon QuickSight log entry contains the following information:
-
userIdentity – User identity
-
eventTime – Event time
-
eventId – Event Id
-
readOnly – Read only
-
awsRegion – Amazon Web Services Region
-
eventSource (quicksight) – Source of the event (Amazon QuickSight)
-
eventType (AwsServiceEvent) – Event type (Amazon service event)
-
recipientAccountId (customer Amazon account) – Recipient account ID (Customer Amazon account)
Note
CloudTrail displays users as unknown
if they were provisioned by Amazon QuickSight. This
display is because these users aren't a known IAM identity type.