[{"data":1,"prerenderedAt":68},["ShallowReactive",2],{"pattern-cloudwatch-metric-streams-firehose-terraform":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":17,"extension":18,"framework":19,"gitHub":20,"highlight":6,"introBox":26,"language":30,"level":31,"meta":32,"patternArch":33,"resources":52,"s3URL":6,"services":6,"stem":63,"testing":64,"videoId":6,"__hash__":67},"patterns\u002Fpatterns\u002Fcloudwatch-metric-streams-firehose-terraform.json","Amazon CloudWatch Metric Streams to Amazon Data Firehose",null,{"text":8},[9],"terraform destroy",[11],"content\u002Fcontributors\u002Fkiran-ramamurthy.json",{"text":13},[14,15,16],"terraform init","terraform plan","terraform apply","Create CloudWatch Metric stream using Amazon Data Firehose and save them in Amazon S3","json","Terraform",{"template":21},{"repoURL":22,"templateURL":23,"projectFolder":24,"templateFile":25},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fcloudwatch-metric-streams-firehose-terraform","serverless-patterns\u002Fcloudwatch-metric-streams-firehose-terraform","cloudwatch-metric-streams-firehose-terraform","main.tf",{"headline":27,"text":28},"How it works",[29],"This pattern sets up Amazon CloudWatch Metric stream and associates that with Amazon Data Firehose. Through this setup you can continuously stream metrics to a destination of choice with near-real-time delivery and low latency. There are various destinations supported, which include Amazon Simple Storage Service (S3) and several third party provider destinations like Datadog, NewRelic, Splunk and Sumo Logic, but in this pattern we use S3. This setup also provides capability to stream all CloudWatch metrics, or use filters to stream only specified metrics. Each of the metric streams can include up to 1000 filters that can either include or exclude namespaces or specific metrics. Another limitation for a single metric stream is it can either include or exclude the metrics, but not both. If any new metrics are added matching the filters in place, an existing metric stream will automatically include them.","Integration","300",{},{"icon1":34,"icon2":39,"line1":42,"icon3":46,"line2":50},{"x":35,"y":36,"service":37,"label":38},20,50,"cloudwatch","Amazon CloudWatch",{"x":36,"y":36,"service":40,"label":41},"kinesis-firehose","Amazon Kinesis Firehose",{"from":43,"to":44,"label":45},"icon1","icon2","metrics",{"x":47,"y":36,"service":48,"label":49},80,"s3","Amazon S3",{"from":44,"to":51,"label":45},"icon3",{"bullets":53},[54,57,60],{"text":55,"link":56},"Use metric streams to continually stream CloudWatch Metrics","https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonCloudWatch\u002Flatest\u002Fmonitoring\u002FCloudWatch-Metric-Streams.html",{"text":58,"link":59},"Amazon Data Firehose - Streaming Data Pipeline","https:\u002F\u002Faws.amazon.com\u002Ffirehose\u002F",{"text":61,"link":62},"Amazon S3 - Cloud Object Storage","https:\u002F\u002Faws.amazon.com\u002Fs3\u002F","patterns\u002Fcloudwatch-metric-streams-firehose-terraform",{"text":65},[66],"In the same account and region, launch an EC2 instance. You should be able to see metrics arrive n S3 bucket in few minutes.","ip9zWByNWJsz86LiD-sZ0TrZwyl4I-Ong4szrVOCW9o",1778927706965]