platforms / aws-cloudwatch-logs / installation

AWS CloudWatch Logs Installation

  1. Create a new lambda function and jump to the configure function step. Fill out the form with: view example

    NamecloudwatchLogsToTimber
    RuntimePython 3.6
    Code entry typeUpload a file from Amazon S3
    S3 link URLhttp://s3.amazonaws.com/packages.timber.io/cloudwatch-logs-lambda-function/timber-cloudwatch-logs-lambda-function-latest.zip
    Environment variablesAdd TIMBER_API_KEY with value {{MY-TIMBER-API-KEY}}
    Handlermain.lambda_handler
    IAM userAssign an IAM user with basic lambda execution permissions.
  2. Navigate to your CloudWatch log groups: view example

    1. Select the desired CloudWatch log group.
    2. Click the actions menu and select Stream to AWS Lambda.
    3. For Lambda Function, select the cloudwatchLogsToTimber function you just created. Click next.
    4. For Log Format, select other and leave the rest of the fields blank. Click next.
    5. Review the details and click Start streaming.
Questions?

Chat with us, just click the talk button in the bottom right of this page.

Chat with us
Sign Up

Log better and solve problems faster, today. Install in under a minute.

Sign Up