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



AWS CloudTrail

Coralogix provides a predefined Lambda function to easily forward your CloudTrail logs straight to Coralogix.


  1. Create AWS CloudTrail trail and setup storage in your S3 bucket:
    amazon-cloudtrail to coralogix integration storage location
  2. Create an “author from scratch” Node.js 8.10 runtime lambda with S3 read permission:
    amazon-cloudtrail to coralogix integration s3 read permissions
  3. At “Code entry type” choose “Upload a ZIP file” and upload “s3ToCoralogixCloudTrail.zip”:
    amazon-cloudtrail to coralogix integration s3tocoralogix function code
  4. Add the mandatory environment variables: private_keyapp_namesub_name:
    amazon-cloudtrail to coralogix integration environment variables

    • Private Key – A unique ID which represents your company, this Id will be sent to your mail once you register to Coralogix.
    • Application Name – Used to separate your environment, e.g. SuperApp-test/SuperApp-prod.
    • SubSystem Name – Your application probably has multiple subsystems, for example, Backend servers, Middleware, Frontend servers etc.
  5. Choose the S3 bucket you want to get triggered by and change the event type from “PUT” to “Object Created(All)”:
    amazon-cloudtrail to coralogix integration configure triggers
  6. Increase Memory to 1024MB and Timeout to 1min:
    amazon-cloudtrail to coralogix integration memory settings
  7. Click “save”.

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