This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""An AWS lambda function for pushing VPC flow logs to Sumo Logic. | |
To use this you need to do a few things: | |
- In the Sumo Logic console create a new Hosted / HTTP collector (https://service.sumologic.com/help/Configuring_an_HTTP_Source.htm) | |
- Save the secret URL that is generated, you'll need it below | |
- Enable flow logs (http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/flow-logs.html) | |
- Create a new Lambda function. If you're doing this in the console: | |
- Skip picking a blueprint | |
- Function name: FlowLogsToSumo |