Beam CloudWatch logs to SumoLogic using AWS Lambda
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
aws-lambda-sumologic.png
config.json
gulpfile.js
index.js
package.json

README.md

CloudWatch logs connector for SumoLogic through AWS Lambda

Beam CloudWatch logs to SumoLogic using AWS Lambda

Basics

Requirements

  • Have node.js installed
  • Have an Amazon Web Services (AWS) Account
  • Create an IAM role that has access to AWS Lambda, CloudWatch (make sure you modify package.json to set the same role name)

Building

  • npm install to install node modules

Deploying

  • Configure your AWS environment keys (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_ACCOUNT_ID)
  • Modify config.json, add appropriate values as necessary (http collector endpoint from SumoLogic)
  • gulp deploy to build and deploy this to your AWS Lambda environment. Check login function in your selected region
  • Make sure to add appropriate CloudWatch logs as event sources to your lambda function

aws-sumologic-cloudwatch

Testing

Check the HTTP collector to see if there are incoming messages and search using SumoLogic