Stream CloudWatch logs (SSE)
Stream CloudWatch logs via SSE. Fetches historical logs first, then optionally tails for new logs.
Query Parameters
Database ID of the AwsAccount to use for credentials
CloudWatch log group names to stream from (e.g., /flightcontrol/runner). Usually a single group; the ECS task-detail drawer passes several because a single task's containers can log to different groups (a FireLens-routed app plus awslogs sidecars). Each group is queried with the same stream filter and the results are merged and deduped. At least one group is required.
Log stream prefix to filter by (e.g., {commandId}/{instanceId}). Mutually exclusive with logStreamNames — pass exactly one.
Explicit list of log stream names to filter by. When set, the handler uses FilterLogEvents with logStreamNames instead of logStreamNamePrefix, which lets the task-detail drawer scope its feed to the exact CloudWatch streams (//) owned by a single ECS task. Mutually exclusive with logStreamPrefix.
AWS region where logs are stored
Start time for historical logs (ISO 8601). Defaults to beginning of log stream.
End time for historical logs (ISO 8601). Defaults to now. Ignored if tail=true.
If true, after fetching historical logs, switch to live tail mode for real-time streaming
Optional CloudWatch FilterPattern (e.g. "ERROR" or ""deploy_id":"abc"") applied to historical and live-tail events. Empty string disables filtering.