Coralogix provides a predefined Lambda function to forward your
Kinesis stream straight to Coralogix.
The preferred and easiest integration method will be to use our aws Serverless Application Repository. Search for ‘coralogix’. Don’t forget to check the ‘Show apps that create custom IAM roles or resource policies’ box located just under the search field to see all available applications. Select your application of choice and click on it. You will see detailed instructions in the readme section on the left.
The rest of this document describes a manual configuration of this integration and the Lambda associated with it and should be used if there is a need for special customization.
This document includes cluster dependent URL’s. Each URL has a variable part (in Italic). Please match this part with a row entry within the following table. Copy the table row entry located under the column that matches the top level domain of your Coralogix account (.com, .in etc.). Replace the variable part of the URL with this entry.
1. Create an
“author from scratch” Node.js 10.x runtime lambda with the following permissions(Create execution role tutorial):
3. Add the mandatory environment variables:
- Private Key – A unique ID which represents your company, this Id will be sent to your mail once you register to Coralogix.
- Application Name – Used to separate your environment, e.g. SuperApp-test/SuperApp-prod.
- If your Coralogix account top level domain is not ‘.com’, add the following environment variable:
- SubSystem Name – Your application probably has multiple subsystems, for example, Backend servers, Middlewar, Frontend servers etc.
4. Go to Add triggers and add
5. Configure the trigger, select the desired
“Kinesis stream” and
“Batch size” equals to