Move from CloudWatch Logs

How to send logs to Drillo instead of CloudWatch Logs for ECS, EKS and EC2, and how to run both in parallel.

Verified against v1.0.0-rc.1 · sources

On this page

The honest path#

Send logs from the source to Drillo, not through CloudWatch. Only that stops the CloudWatch ingestion charge. Plan for a short parallel run first.

RuntimeRouteStatus
EC2, or containers on a hostVector or Fluent Bit with the /v1/logs recipeRecipes not verified in a conformance run
ECSFireLens (Fluent Bit sidecar, http output)Recipe to write; not tested
EKSFluent Bit or Vector DaemonSetRecipe to write; not tested
Lambda, API Gateway, RDS, VPC flow logsThese write only to CloudWatchBridge only, see below

Bridge: keep CloudWatch, copy to Drillo#

A subscription filter can forward to Lambda or Firehose. The logs are still ingested and billed by CloudWatch first, so this is for a trial or parallel run, not a saving. Redelivery can store duplicates (the gate does not remove client resends). Firehose needs an adapter we have not built. Events older than 7 days are clamped to the receive time unless backfill is enabled.

Before you switch#

  • Logs Insights queries map to CQL for filter, stats, bin, percentiles, distinct count, sort and limit (see the CQL cheatsheet). Expect to relearn the syntax.
  • Metric filters and alarms need to be recreated as Drillo alert rules by hand.
  • "Under an hour" is plausible for containers and EC2 only.
  • For cost, see the comparison: cheaper only above about 21 GB/day in the model.

Sources

This page was checked against: crates/gate/src/main.rs, docs/ingest-recipes.md.

Report an inaccuracy (opens a new issue in the Drillo repository; nothing is sent from this page)