Search
cloudwatch_logs.filter_log_events
ActionAmazon Web Servicesconnection required
Calls the AWS cloudwatch_logs API (SigV4).
Search log events in a log group.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Amazon CloudWatch Logs
- Secret shape
- {"access_key_id", "secret_access_key"}
- Config it needs
- region
- Resolved by
- config.connection_id, else node.connection_id
Configuration
7 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
region AWS region (overrides the connection). | string | No | — | — | — |
log_group Log group name. | string | Yes | — | — | — |
filter_pattern CloudWatch filter pattern. | string | No | — | — | — |
start_time_ms Epoch ms lower bound. | number | No | — | ≥ 0 | — |
end_time_ms Epoch ms upper bound. | number | No | — | ≥ 0 | — |
limit Max events (default 50). | number | No | — | ≥ 1 | — |
next_token Continues a previous run of this node, using that run's next_token output. | string | No | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
events | array | — |
count | number | — |
next_token Cursor for the next page; empty when there are no further pages. | string | — |
{
"count": 0,
"events": [],
"next_token": ""
}Related Amazon CloudWatch Logs nodes
See Search run in a workflow.
In a technical demo we add the Amazon CloudWatch Logs connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.