# AWS load balancer

Copy as Markdown[Open in ChatGPT](https://chatgpt.com/?q=Read%20https%3A%2F%2Fdocs-docusaurus.kinsta.page%2Fintegrations%2Faws%2Faws-load-balancer.md%20and%20help%20me%20with%20my%20question%20about%20this%20Coralogix%20documentation%20page.)[Open in Claude](https://claude.ai/new?q=Read%20https%3A%2F%2Fdocs-docusaurus.kinsta.page%2Fintegrations%2Faws%2Faws-load-balancer.md%20and%20help%20me%20with%20my%20question%20about%20this%20Coralogix%20documentation%20page.)

This tutorial demonstrates how to collect your AWS Elastic Load Balancers, Application Load Balancers, and Network Load Balancers using [Elastic Load Balancing](https://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/what-is-load-balancing.html). The data, decrypted and retaining original timestamps, is sent to Coralogix. The process is installation-free and entails simply deploying a Lambda function.

Once ingested by Coralogix, view and analyze your logs on our platform using queries, alerts, visualizations, and ML capabilities.

## Prerequisites[​](#prerequisites "Direct link to Prerequisites")

* AWS account with permissions to create Lambdas and IAM roles

* An operating load balancer that writes its access log to S3

* An S3 bucket clear of any triggers and with a policy that grants the load balancer permission to write access logs to the bucket

## Installation[​](#installation "Direct link to Installation")

**STEP 1**. Navigate to [Coralogix Lambda creation](https://coralogix.com/docs/external/coralogix-aws-shipper/#amazon-s3-cloudtrail-vpc-flow-logs-and-more).

**STEP 2**. Fill in the required parameters.

**STEP 3**. Check the checkbox: "I acknowledge that this app creates custom IAM roles and resource policies."

**STEP 4**. Deploy.

## Parameters & Descriptions[​](#parameters--descriptions "Direct link to Parameters & Descriptions")

| Variable                 | Description                                                                                                                                                                                                                                                                    |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Application Name**     | Stack name of the application created via AWS CloudFormation.<br />If your log is JSON format, use its dynamic value.<br />Example: `$.level1.level2.value`                                                                                                                    |
| **NotificationEmail**    | Failure notification email address                                                                                                                                                                                                                                             |
| **ApplicationName**      | [**Application name**](https://docs-docusaurus.kinsta.page/user-guides/account-management/account-settings/application-and-subsystem-names/.md) as it appears in your Coralogix UI                                                                                             |
| **BlockingPattern**      | If you wish to block some of the logs adding a substring will act as selector.<br />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**](https://docs-docusaurus.kinsta.page/user-guides/account-management/account-settings/coralogix-domain/.md)                                                               |
| **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**](https://docs-docusaurus.kinsta.page/user-guides/account-management/account-settings/application-and-subsystem-names/.md) 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**](https://docs-docusaurus.kinsta.page/user-guides/account-management/api-keys/send-your-data-api-key/.md)                                                                                                                            |
| **LayerARN**             | Your Coralogix SSM Layer ARN                                                                                                                                                                                                                                                   |

## Additional Resources[​](#additional-resources "Direct link to Additional Resources")

|      |                                                                                                                  |
| ---- | ---------------------------------------------------------------------------------------------------------------- |
| Blog | [How to Get the Most Out of Your ELB Logs](https://coralogix.com/blog/how-to-get-the-most-out-of-your-elb-logs/) |
