Menu
Transit Network VPC (Cisco CSR)
Transit Network VPC (Cisco CSR)

Amazon CloudWatch

This solution creates the following CloudWatch rules and logs to invoke and log associated AWS Lambda functions.

CloudWatch Logs:

  • /aws/lambda/transit-vpc-poller: Logged actions of the VGW Poller Lambda function

  • /aws/lambda/ transit-vpc-cisco-configurator: Logged actions of the Cisco Configurator Lambda function

  • /aws/lambda/transit-vpc-solution-helper-XXXXXXXXXXXXX or transit-vpc-poller-solution-helper-XXXXXXXXXXXXX: Created by the solution-helper customer resource when launching the transit-vpc-primary-account AWS CloudFormation template or the transit-vpc-poller AWS CloudFormation template.

CloudWatch Rule:

  • vgw-poller-1min: This rule invokes the VGW Poller Lambda function every (1) minute.

This solution also logs debugging, informational, warning, error, and critical messages for the VGW Poller and Cisco Configurator Lambda functions. To choose the type of messages to log, find the applicable function in the Lambda console and change the LOG_LEVEL environment variable to the applicable type of message.

Level Description
CRITICAL Logs will include information on anything that causes the function to fail.
ERROR Logs will include information on anything that causes an operation to fail. Logs will also include CRITICAL messages.
WARNING Logs will include information on anything that can potentially cause inconsistencies in the function but might not necessarily cause the operation to fail. Logs will also include ERROR and CRITICAL messages.
INFO Logs will include high-level information about how the function is operating. Logs will also include WARNING, ERROR, and CRITICAL messages.
DEBUG Logs will include information that might be helpful when debugging a problem with the function. Logs will also include INFO, WARNING, ERROR, and CRITICAL messages.