CloudWatch integration

The CloudWatch integration pulls events from one or more AWS log groups and feeds them into the diagnosis pipeline.

Authentication

Two modes are supported:

  • IAM role (recommended) — provide the cross-account role ARN and an external ID. No long-lived secrets to manage.
  • Static keys — provide an access key ID, secret access key, and optional session token. Stored encrypted at rest.

Fields

  • Region — the AWS region your log groups live in.
  • Log groups — one or more log group names to ingest.
  • Alert email IDs — addresses notified when an incident is diagnosed.
  • Poll interval / lookback — how often to sync and how far back to look on the first run.

Trace ids

To group an error with the logs around it, logdino reads trace ids under their common names: trace_id, traceId, the X-Ray AWSTraceHeader, W3C traceparent, Powertools’ xray_trace_id, and request ids.

When a log line carries none of them, logdino rebuilds the trace from nearby logs and the code index, and shows how confident it is in the result.

Secrets

Credentials are encrypted at rest and never returned in API responses in plaintext. The integrations API only exposes boolean has_* flags so the UI can show whether a secret is set.