Once the lambda function is installed, manually add a trigger on the S3 bucket or CloudWatch log group that contains your Amazon WorkSpaces logs in the AWS console:
The number of WorkSpaces that returned a healthy status.
aws.workspaces.connection_attempt (count)
The number of connection attempts.
aws.workspaces.connection_failure (count)
The number of failed connections.
aws.workspaces.connection_success (count)
The number of successful connections.
aws.workspaces.in_session_latency (gauge)
The round trip time between the WorkSpaces client and the WorkSpace. Shown as millisecond
aws.workspaces.session_disconnect (count)
The number of connections that were closed, including user-initiated and failed connections.
aws.workspaces.session_launch_time (gauge)
The amount of time it takes to initiate a WorkSpaces session. Shown as second
aws.workspaces.unhealthy (gauge)
The number of WorkSpaces that returned an unhealthy status.
aws.workspaces.user_connected (gauge)
The number of WorkSpaces that have a user connected.
aws.workspaces.stopped (gauge)
The number of WorkSpaces that are stopped.
aws.workspaces.maintenance (gauge)
The number of WorkSpaces that are under maintenance.
Each of the metrics retrieved from AWS are assigned the same tags that appear in the AWS console, including but not limited to host name, security-groups, and more.
Events
The AWS WorkSpaces integration does not include any events.
Service Checks
The AWS WorkSpaces integration does not include any service checks.