Log Analytics 2019 - Coralogix partners with IDC Research to uncover the latest requirements by leading companies



AWS Load Balancer

Coralogix allows an easy way to collect your AWS load balancer (ELB, ALB, NLB) logs while decrypting them and using their original timestamp without you having to install anything on your environment, but simply deploying a Lambda. 

AWS Load Balancer logs are written by AWS to S3, in order to ship them into Coralogix and enjoy our queries, alerts, visualizations, and ML capabilities, you should read the log data bucket using our proprietary Lambda.  


Make sure you add the following environment variables when using this lambda.

private_keyA private key which is used to validate your authenticity, this key will be sent to your mail once you register to Coralogix and should not be transferred outside your company
app_nameThe name of your main application, for example, a company named “SuperData” would probably insert the “SuperData” string parameter or if they want to debug their test environment they might insert the “SuperData– Test”
sub_nameYour application probably has multiple subsystems, for example, Backend servers, Middleware, Frontend servers etc. in order to help you examine the data you need, inserting the subsystem parameter is vital

1. Create an “author from scratch” Node.js 10.x or higher runtime lambda with an S3 read permissions 

2. At “Code entry type” choose “Upload a ZIP file” and upload “s3ToCoralogixELB.zip”


3. Add the mandatory environment variables: private_key, app_name, sub_name

env vars for coralogix S3 lambda

4. Choose the S3 bucket you want to get triggered by and change the event type from “PUT” to “Object Created(All)”

S3 bucket for coralogix

6. Multiline pattern: Coralogix supports multiline pattern by default, you can define a custom pattern with an environment variables, for example: newline_pattern [\s(?={)|(?<=})\s,\s(?={)|(?<=})\s\]. 

custom multiline in S3

7. Increase Memory to 1024mb and Timeout to 30 sec.

Lambda config cw logs

8. Click ‘Save’

Your all set! Your AWS load balancer log data should now be streaming to Coralogix.

To parse your data into JSON format, use our Rules engine with a “parse” rule. 

Need help? ping us on our in-app chat for our world-class tech support. 

Start solving your production issues faster

Let's talk about how Coralogix can help you better understand your logs

No credit card required

Get a personalized demo

Jump on a call with one of our experts and get a live personalized demonstration