Skip to main content

Supported Data Types

📈 Metrics This source ingests Amazon CloudWatch Metric Streams delivered through Amazon Data Firehose to an HTTP endpoint on the Sawmills Collector. Firehose posts records to the collector; the collector decodes the CloudWatch Metric Streams format and forwards the metrics through your pipeline.
Only the CloudWatch Metric Streams JSON output format is supported (decoded via the cwmetrics encoding). Configure your metric stream with the JSON output format.

How it works

Firehose’s HTTP endpoint destination requires an HTTPS URL with a publicly-trusted (CA-signed) certificate. Terminate TLS at a Network Load Balancer you control and forward plaintext to the collector’s firehose port. Firehose authenticates with an access key sent in the X-Amz-Firehose-Access-Key header, which the collector validates. For the full AWS setup walkthrough, see How to send CloudWatch metrics via Firehose.

Configuration

The pod’s IP address is retrieved by defining an environment variable MY_POD_IP from the pod’s status field status.podIP. You can access this value using ${env:MY_POD_IP} in your configuration to dynamically reference the pod’s IP at runtime.
TLS is terminated at your load balancer (SSL offload), so the collector listens over plaintext HTTP on the port above. Do not expose this port publicly without the load balancer in front of it.