Coralogix provides an easy way to collect your CloudWatch Logs. Use AWS Serverless Application Repository for seamless integration.
Once the deployment is done the lambda will listen in on the selected CloudWatch groups.
You can add more groups as triggers to the same lambda after the deployment is done.
To do so navigate to Configuration tab and from under ‘General configuration’ panel select Triggers. There just click on ‘Add trigger’ and select the desired source for your data.
Variable | Description |
---|---|
Application Name | Stack name of this application created via AWS CloudFormation |
NotificationEmail | Failure notification email address |
ApplicationName | Application name in Coralogix |
BufferCharset | Charset to use for buffer decoding, possible options are [utf8, ascii] |
CloudWatchLogGroupName | Name of the CloudWatch log group to watch |
CoralogixRegion | Coralogix region associated with your account domain |
Debug | Coralogix logger debug mode |
FunctionArchitecture | Our Function supports x86_64 or arm64 |
FunctionMemorySize | Max Memory for the function itself |
FunctionTimeout | Function TimeOut |
NewlinePattern | Pattern for multiLine example: [\s(?={)|(?<=})\s,\s(?={)|(?<=})\s] |
PrivateKey | Coralogix private key |
SamplingRate | Sets the sampling rate. Default is 1 (every 1 message, to lower rate increase value) |
SubsystemName | Subsystem name in Coralogix (can be empty to use log_group as subsystem name) |
To use AWS Secrets Manager to store your Coralogix PrivateKey, deploy Coralogix SecretLayer form AWS Serverless Repository. You are required to use the parameters below in your deployment.
Notes:
FunctionMemorySize
, FunctionTimeout
and NewlinePattern
parameters. The application should be installed in the same AWS region as the CloudWatch log group.Application/Subsystem
names. Just use following syntax: $.my_log.field
.Variable | Description |
---|---|
Application Name | Stack name of this application created via AWS CloudFormation |
NotificationEmail | Failure notification email address |
ApplicationName | Application name in Coralogix |
CloudWatchLogGroupName | Name of the CloudWatch log group to watch |
CoralogixRegion | Coralogix region associated with your account domain |
PrivateKey | Coralogix private key |
SsmEnabled | Set this to TRUE to use AWS Secrets. When enabled, it creates the secret as follows: “lambda/coralogix//” |
SubsystemName | Subsystem name in Coralogix (can be empty to use log_group as subsystem name) |
LayerARN | ARN of the Coralogix SecurityLayer |
Note: Parameters for SSM will be requested, but should be left empty.
Need help?
Our world-class customer success team is available 24/7 to walk you through your setup and answer any questions that may come up.
Feel free to reach out to us via our in-app chat or by sending us an email to [email protected].