Enable contact flow logs - Amazon Connect

Enable contact flow logs

Step 1: Enable logging for your instance

By default when you create a new Amazon Connect instance, Amazon Connect creates an Amazon S3 bucket for storing contact flow logs. When a bucket is created, contact flow logging is enabled at the instance level.

Use the following procedure to check that logging is enabled for your instance.

  1. Open the Amazon Connect console.

  2. Choose the instance alias for your instance.

  3. Choose Contact flows.

  4. Scroll to bottom of the page. Select Enable Contact flow logs and choose Apply.

Step 2: Add the Set logging behavior block

Logs are generated only for contact flows that include a Set Logging Behavior block with logging set to enabled.

You control which flows, or parts of flows, logs are generated for by including multiple Set logging behavior blocks and configuring them as needed.

When you use a Set logging behavior block to enable or disable logging for a flow, logging is also enabled or disabled for any subsequent flow that a contact is transferred to, even if the flow does not include a Set logging behavior block. To avoid logging that persists between flows, enable or disable a Set logging behavior block as needed for that specific flow.

To enable or disable contact flow logs for a contact flow

  1. Add a Set Logging Behavior block and connect it to another block in the flow.

  2. Open the properties for the block. Choose Enable or Disable.

  3. Choose Save.

  4. If you add a Set logging behavior block to a contact flow that is already published, you must publish it again to start generating logs for it.