Skip to main content
Version: 3.2

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​

FieldWhat you chooseDetails
ParametersConnection, Function, Function Parameters, Timeout OverrideSelect the connection profile, function, configure function parameters with expression support, and optionally override the per-call timeout.
SettingsDescription, Timeout (seconds), Retry on Timeout, Retry on Fail, On ErrorNode 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 nodeAmazon CloudWatch Put Metric Data node

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 NamePurposeCommon Use Cases
Put Metric DataPublish custom metric valuesKPIs 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.

A Resent Value Is a Second Sample

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 nodeAmazon CloudWatch Get Metric Data node

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 NamePurposeCommon Use Cases
Get Metric DataRead metric statisticsShift reports, comparisons between machines, checks before a change
Amazon CloudWatch List Metrics nodeAmazon CloudWatch List Metrics node

Amazon CloudWatch List Metrics Node

Amazon CloudWatch List Metrics Node​

List metrics by namespace, name and dimension, up to the item budget.

Function NamePurposeCommon Use Cases
List MetricsDiscover metricsFinding what to read, counting the billed dimension sets of a namespace
Amazon CloudWatch Put Log Events nodeAmazon CloudWatch Put Log Events node

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 NamePurposeCommon Use Cases
Put Log EventsWrite log eventsAudit trails of operator actions, machine alarms next to cloud logs
Partial Writes

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 nodeAmazon CloudWatch Filter Log Events node

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 NamePurposeCommon Use Cases
Filter Log EventsSearch log eventsFinding 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:

NodeExpressionDescription
Put Metric Data$node["Name"].result.countHow many metric values CloudWatch accepted
$node["Name"].result.namespaceThe namespace the values were published to
Get Metric Data$node["Name"].result.seriesOne 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.countHow many datapoints, metrics or events were returned
$node["Name"]._metadata.truncatedtrue when the budget stopped the read and more exist
Filter Log Events$node["Name"]._metadata.truncatedBybytes when the platform's query-result byte budget ended the search; absent otherwise
List Metrics$node["Name"].result.metricsOne object per metric: namespace, metricName and dimensions
Put Log Events$node["Name"].result.acceptedCountHow many events CloudWatch Logs took
$node["Name"].result.rejectedOne 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.streamCreatedWhether the call created the log stream
Filter Log Events$node["Name"].result.eventsOne 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.protocolThe operation, the connection it ran over, and cloudwatch