Enable flow logs - Amazon Connect

Enable flow logs

Tip

Amazon Connect delivers flow logs at least once. They may be delivered again for multiple reasons. For example, a service retry due to an unavoidable failure.

Step 1: Enable logging for your instance

By default when you create a new Amazon Connect instance, an Amazon CloudWatch log group is created automatically to store the logs for your instance.

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 Flows.

  4. Select Enable Flow logs and choose Save.

Step 2: Add the Set logging behavior block

Logs are generated only for 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 flow logs for a 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 flow that is already published, you must publish it again to start generating logs for it.