One of the easiest ways to collect logs is to send all of them to S3 buckets.
To make the log collection a breeze, use our app in the AWS Serverless Application Repository.
I acknowledge that this app creates custom IAM roles and resource policies.
Once the deployment is done every new gzipped log file placed in the lambda will be sent to Coralogix
Variable | Description |
---|---|
Application Name | Stack name of the application created via AWS CloudFormation. If your log is JSON format, use its dynamic value. Example: $.level1.level2.value |
NotificationEmail | Failure notification email address |
S3BucketName | Name of the S3 bucket to watch |
ApplicationName | Application name as it appears in your Coralogix UI |
BlockingPattern | If you wish to block some of the logs adding a substring will act as selector. Default is empty to send all logs. |
BufferSize | Buffer size for logs in the lambda function |
CoralogixRegion | Region [Europe, Europe2, India, Singapore, or US] associated with your Coralogix account domain. |
Debug | Coralogix logger debug mode |
FunctionArchitecture | Function supports x86_64 or arm64 |
FunctionMemorySize | Max memory for the function itself |
FunctionTimeout | Maximum time in seconds the function may be allowed to run |
NewlinePattern | Pattern for lines splitting. Default is (?:\r\n|\r|\n) . |
S3BucketName | Name of the S3 bucket to watch |
S3KeyPrefix | The S3 path prefix to watch, if you want to watch a particular subfolder within the bucket |
S3KeySuffix | S3 path suffix to watch |
SamplingRate | Sets the sampling rate |
SsmEnabled | True if you want to store your coralogix private_key as a secret and False if you do not |
SubsystemName | Subsystem name as it appears in your Coralogix UI. If your log is JSON format, can use its dynamic value, for example: $.level1.level2.value . |
CustomDomain | Coralogix custom domain. Leave empty if you do not use a custom domain. |
PrivateKey | Your Coralogix ‘Send Your Data’ API Key |
LayerARN | Your Coralogix SSM Layer ARN |
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 at [email protected].