Lambda function which transforms, unzips and processes cloudwatch logs.
The function currently does not parse the message content, instead just ensures that AWS Athena can read the logs. The function ensures the account id, log group and log stream is retained for every log message.
To build the lambda function run the following.
npm install
npm run build
To run the tests.
npm test
The following will package the lambda function into a zip bundle to allow manual deployment.
zip -q -r dist/lambda.zip node_modules dist