Our next-gen architecture is built to help you make sense of your ever-growing data Watch a 4-min demo video!

Back to All Docs

Import Archived Logs Import Archived Logs

Last Updated: May. 25, 2022

Description

Coralogix allows you to import the data you archived in an easy and structured way. Simply use our proprietary Lambda function and have your archived logs back in your system in minutes.

To choose what to archive:

  1. Go to your Coralogix archive bucket, data should be stored there per the day and hour of the log entries.
  2. Choose the relevant hour to import and place it in a separate bucket.
  3. Note – Imported logs count as part of your daily quota.

Usage

Make sure you add the private_key environment variable when using this lambda.

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

configure lambda function

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

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

3. Add the private_key environment variable.

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

5. Click ‘Save’

You’re all set! Need help, ping us on our in-app chat for tech support.

 

On this page