Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/santthosh/sumologic-cloudwatch-lambda
Beam CloudWatch logs to SumoLogic using AWS Lambda
https://github.com/santthosh/sumologic-cloudwatch-lambda
Last synced: about 13 hours ago
JSON representation
Beam CloudWatch logs to SumoLogic using AWS Lambda
- Host: GitHub
- URL: https://github.com/santthosh/sumologic-cloudwatch-lambda
- Owner: santthosh
- License: apache-2.0
- Created: 2015-12-26T01:06:20.000Z (about 9 years ago)
- Default Branch: develop
- Last Pushed: 2016-01-04T18:22:33.000Z (about 9 years ago)
- Last Synced: 2024-11-13T10:48:34.030Z (2 months ago)
- Language: JavaScript
- Size: 262 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://raw.githubusercontent.com/santthosh/sumologic-cloudwatch-lambda/develop/aws-lambda-sumologic.png)
### Testing
Check the HTTP collector to see if there are incoming messages and search using SumoLogic