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 Integrations

Cloudwatch Metrics Cloudwatch Metrics

Last Updated: May. 25, 2022

Coralogix provides an easy way to collect your Cloud watch metrics.
The preferred and easiest integration method will be to use our AWS Serverless Application Repository.
Our code is open source and you can see it on Github

Requirements

  • Your AWS user should have permissions to create lambdas and IAM roles.

Installation

  • Navigate to Application Page.
  • Fill in the required parameters (You can find a table below).
  • Click Deploy.

Once the deployment is done the lambda will listen in on the selected CloudWatch Metrics.

Parameters and Descriptions

Variable nameDescription
VariableDescription
Application NameThe stack name of this application created via AWS CloudFormation
NotificationEmailFailure notification email address
ApplicationNameApplication Name in Coralogix.
CoralogixRegionThe Coralogix location region [Europe, India, Singapore, US] Check your Coralogix account if url ends in .us its US. Region. Same for the others.
FunctionArchitectureOur Function supports x86_64 or arm64
FunctionMemorySizeMax Memory for the function it self.
FunctionTimeoutFunction TimeOut
MetricsA minified Json string (you can minify you json here)
PrivateKeyYour Coralogix account send your logs key. Can be found in DataFlow -> Api Keys

Metrics Example:

This Example needs to be minified and inserted in the Metrics Value Above (you can minify you json here).

[
   {
     "Dimensions": [
       {
         "Name": "FunctionName",
         "Value": "test-function"
       }
     ],
     "Period": 60,
     "Statistics": [
       "SampleCount",
       "Average",
       "Sum",
       "Minimum",
       "Maximum"
     ],
     "MetricName": "Invocations",
     "Namespace": "AWS/Lambda"
   },
   {
     "Dimensions": [
       {
         "Name": "FunctionName",
         "Value": "test-function"
       }
     ],
     "Period": 60,
     "Statistics": [
       "SampleCount",
       "Average",
       "Sum",
       "Minimum",
       "Maximum"
     ],
     "MetricName": "Duration",
     "Namespace": "AWS/Lambda"
   }
 ]

That’s all! you should have your CW metrics streaming to Coralogix now. Not seeing events yet? Ping us on our in-app chat or send an email

On this page