Amazon CloudWatch Nodes
Publish metrics and log events to Amazon CloudWatch from a pipeline, and read metric statistics and log events back.
- Operations
- Put Metric Data · Get Metric Data · List Metrics · Put Log Events · Filter Log Events
- Limits
- 1,000 metric values or 10,000 log events per call
- Delivery
- At least once; a resend can add a copy
MaestroHub integrates with Amazon CloudWatch and CloudWatch Logs. Use these nodes to publish plant KPIs as custom metrics, keep machine events in a log group, and read both back for reports and checks. Connection and function setup are in the Amazon CloudWatch guide.
Configuration Quick Reference
| Field | What you choose | Details |
|---|---|---|
| Parameters | Connection, Function, Function Parameters, Timeout Override | Select the connection profile, function, configure function parameters with expression support, and optionally override the per-call timeout. |
| Settings | Description, Timeout (seconds), Retry on Timeout, Retry on Fail, On Error | Node description, maximum execution time, retry behavior on timeout or failure, and error handling strategy. All execution settings default to pipeline-level values. |


Amazon CloudWatch Put Metric Data Node
Amazon CloudWatch Put Metric Data Node
Publish up to 1,000 metric values to one namespace with one PutMetricData call. CloudWatch takes the whole call or refuses it.
| Function Name | Purpose | Common Use Cases |
|---|---|---|
| Put Metric Data | Publish custom metric values | KPIs on a CloudWatch dashboard, alarms on machine readings |
When the pipeline runs, the node renders the templated fields, checks every value against CloudWatch's limits (nothing is sent when one fails), stamps a value without a timestamp with the produce time the platform hands the connector, and calls PutMetricData.
CloudWatch drops no repeat. A value sent again after a connection cut counts twice in Sum and SampleCount. Every distinct dimension set is billed as its own metric, so never fill a dimension from a timestamp or a run id.


Amazon CloudWatch Get Metric Data Node
Amazon CloudWatch Get Metric Data Node
Read datapoints of up to 500 metrics of one namespace over a window, newest first. The datapoint budget is sent to CloudWatch on every page.
| Function Name | Purpose | Common Use Cases |
|---|---|---|
| Get Metric Data | Read metric statistics | Shift reports, comparisons between machines, checks before a change |


Amazon CloudWatch List Metrics Node
Amazon CloudWatch List Metrics Node
List metrics by namespace, name and dimension, up to the item budget.
| Function Name | Purpose | Common Use Cases |
|---|---|---|
| List Metrics | Discover metrics | Finding what to read, counting the billed dimension sets of a namespace |


Amazon CloudWatch Put Log Events Node
Amazon CloudWatch Put Log Events Node
Write up to 10,000 events into a log stream of an existing log group, sorted into time order. Text that is a JSON array (such as ((lines)) filled with an upstream array) is the list of events; any other text is one event, as written. The stream is created when it is missing; the group never is.
| Function Name | Purpose | Common Use Cases |
|---|---|---|
| Put Log Events | Write log events | Audit trails of operator actions, machine alarms next to cloud logs |
CloudWatch Logs can refuse some events of a call (too old, too new, expired) and take the rest. The node reports each refused event in result.rejected. With store-and-forward on and a write key, the call fails as permanent (CloudWatch will refuse those events again), so an On Error branch sees it; a resend sends only the events that did not land. Without store-and-forward, the node succeeds and is marked partial.


Amazon CloudWatch Filter Log Events Node
Amazon CloudWatch Filter Log Events Node
Search a log group with a CloudWatch filter pattern in a window, oldest first, up to the event budget, which is sent to CloudWatch Logs on every page.
| Function Name | Purpose | Common Use Cases |
|---|---|---|
| Filter Log Events | Search log events | Finding the errors of the last hour, pulling the events of one batch |
Output
Every CloudWatch node delivers its data under result, and execution facts (success, functionId, durationMs, timestamp) under _metadata:
| Node | Expression | Description |
|---|---|---|
| Put Metric Data | $node["Name"].result.count | How many metric values CloudWatch accepted |
$node["Name"].result.namespace | The namespace the values were published to | |
| Get Metric Data | $node["Name"].result.series | One object per metric query, in the order given: id, metricName, dimensions, stat, label, statusCode (Complete, PartialData or InternalError) and points, newest first, each a UTC timestamp and a value |
| Get Metric Data, List Metrics, Filter Log Events | $node["Name"].result.count | How many datapoints, metrics or events were returned |
$node["Name"]._metadata.truncated | true when the budget stopped the read and more exist | |
| Filter Log Events | $node["Name"]._metadata.truncatedBy | bytes when the platform's query-result byte budget ended the search; absent otherwise |
| List Metrics | $node["Name"].result.metrics | One object per metric: namespace, metricName and dimensions |
| Put Log Events | $node["Name"].result.acceptedCount | How many events CloudWatch Logs took |
$node["Name"].result.rejected | One object per refused event: index (its position as given), reason (tooOld, tooNew or expired) and timestamp; empty when every event was taken | |
$node["Name"].result.streamCreated | Whether the call created the log stream | |
| Filter Log Events | $node["Name"].result.events | One object per event, oldest first: timestamp and ingestionTime in UTC, logStreamName, message and eventId |
| Every node | $node["Name"]._metadata.method, $node["Name"]._metadata.connectionId, $node["Name"]._metadata.protocol | The operation, the connection it ran over, and cloudwatch |