Skip to content

Instantly share code, notes, and snippets.

@monkey-codes
Created August 13, 2016 05:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save monkey-codes/c07aba87bc062cb32012802273de2c47 to your computer and use it in GitHub Desktop.
Save monkey-codes/c07aba87bc062cb32012802273de2c47 to your computer and use it in GitHub Desktop.
AWSEBCWLGreetingMeanMetricFilter :
Type : "AWS::Logs::MetricFilter"
Properties :
LogGroupName: { "Ref" : "AWSEBCloudWatchLogsAppLogGroup" }
FilterPattern : '{ $.perf4j_tag = "greeting.GET"}'
MetricTransformations :
- MetricValue : $.perf4j_mean
MetricNamespace: {"Fn::Join":["/", ["elastic-beanstalk", {"Ref":"AWSEBEnvironmentName"}]]}
MetricName : greeting-mean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment