INTEGRATIONS

S3 Integration

Description

S3 to Coralogix lambda allows you to send your logs from your S3 bucket to Coralogix.

Usage

You must add the following environment variables when using this lambda.

 

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

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

https://s3-eu-west-1.amazonaws.com/coralogix-public/tools/s3ToCoralogix.zip

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

env vars for coralogix S3 lambda

4. Increase Memory to 1024MB and Timeout to 3 min

5. 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

6. Click ‘Save’

Your all set! data would be streaming to Coralogix, need help? ping us on our in-app chat for support@coralogix.com. 

Start solving your production issues faster

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

Managed, Scaled and Compliant ELK Stack

No credit card required

Get a personalized demo

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