Skip to main content

Logs, Metrics, and Alarms

Retrieving log events from SCC-AC Guided Setup

  1. In Salesforce Lightning Experience, click Gear IconDeveloper Console.
  2. Navigate to FileOpen Resource.
  3. Search for the object SCC_SetupLog__c by typing in the Select an item to open box.
  4. Select the object and choose Open. retrieving-logs
  5. All of the object’s fields display. Select the fields you would like displayed in the result list. Select multiple fields by holding down the Control key (on Windows) or the Command key (on macOS).
  6. Choose the Query button to create and add the SOQL query to the editor.
  7. Choose the Execute button to run the query and see the results. retrieving-logs

Monitoring the health of SCC-AC Lambda functions

A default dashboard will be provisioned in the AWS account for each Amazon Connect call center set up with SCC-AC, to provide a single view of the health of the SCC-AC Lambda functions deployed for that call center.

lambda-monitoring

Any errors encountered during Lambda execution will be logged in the corresponding log group in CloudWatch, e.g. /aws/lambda/SCCAC-CreateMessagingSessionFunction-(orgId).

SCC-AC guided setup will also provision alarms and monitors on the provisioned Lambda functions that are used for SCC-AC contact handling functionality, to provide a default alarming configuration out of the box. As these alarms will not be preconfigured with alarm actions, you can choose to add your own alarm actions in the CloudWatch console to configure how you would like to be notified in the event that one of the alarming thresholds is met. You can also change the default thresholds for each alarm to best fit your needs.

Default Lambda alarms and thresholds

Below is a list of the alarms and their default alarming thresholds that will be provisioned by SCC-AC for the Lambda functions deployed for each configured Connect instance.

Alarm NameThreshold
createMessagingSessionFunctionErrorAlarmErrors >= 3 for 1 datapoints within 1 minute
createMessagingSessionFunctionThrottleAlarmThrottles >= 5 for 1 datapoints within 1 minute
routingFunctionErrorAlarmErrors >= 3 for 1 datapoints within 1 minute
routingFunctionThrottleAlarmThrottles >= 5 for 1 datapoints within 1 minute
ctrKinesisRecordSegregationFunctionErrorErrors >= 3 for 1 datapoints within 1 minute
ctrKinesisRecordSegregationFunctionThrottleThrottles >= 5 for 1 datapoints within 1 minute
contactTraceRecordFunctionErrorAlarmErrors >= 3 for 1 datapoints within 1 minute
contactTraceRecordFunctionThrottleThrottles >= 5 for 1 datapoints within 1 minute
contactDisconnectedFunctionErrorAlarmErrors >= 3 for 1 datapoints within 1 minute
contactDisconnectedFunctionThrottleAlarmThrottles >= 5 for 1 datapoints within 1 minute