Creating rules to send Amazon QuickSight events to Amazon CloudWatch - Amazon QuickSight

Creating rules to send Amazon QuickSight events to Amazon CloudWatch

You can write simple rules to indicate which Amazon QuickSight events interest you and which automated actions to take when an event matches a rule. For example, you can configure Amazon QuickSight to send events to Amazon CloudWatch whenever a Amazon QuickSight asset is placed in a folder. For more information, see the Amazon EventBridge user guide.

  1. Sign in to the AWS Management Console and open the CloudWatch console at

  2. Under Events in the navigation pane, choose Rules.

  3. Choose Create rule.

  4. Enter a name and description for the rule. The rule name must be unique within this Region. For example, enter QuickSightAssetChangeRuleCloudWatch.

  5. Choose default Event bus.

  6. Choose Rule with an event pattern, and then choose Next.

  7. For Event source, choose AWS events or EventBridge partner events.

  8. In the Creation method section, choose Custom pattern (JSON editor).

  9. In the Event pattern text box, enter the following snippet and choose Next.

    { "source": ["aws.quicksight"] }

    Alternatively, you can create the rule that only subscribes to a subset of event types in Amazon QuickSight. For example, the following rule will only triggered when an asset is added to or removed from a folder with id 77e307e8-b41b-472a-90e8-fe3f471537be.

    { "source": ["aws.quicksight"], "detail-type": ["QuickSight Folder Membership Updated"], "detail": { "folderId": "77e307e8-b41b-472a-90e8-fe3f471537be" } }
  10. For Targets, choose AWS service > CloudWatch log group.

  11. Choose from an existing log group or create a new one by entering a new log group name.

  12. Optionally, you can add another target for this rule.

  13. In Configure tags, choose Next.

  14. Choose Create rule.

For more information, see Creating Amazon EventBridge rule that reacts To events in the Amazon EventBridge user guide.