← Changelog
NewAppsFrom the roadmap

Stream an app's logs to Datadog, Axiom or Better Stack

An app's Logs are kept for your plan's days, 1 on Free, and could only be read in the console, the CLI or the API, so a team that keeps everything in its own log tool had to poll for them. Now a log drain streams an environment's log to any HTTPS endpoint within about two minutes: every event, and every line an action logs, as JSON lines with a timestamp, level and message. Add one under Settings → Log drains, with your tool's key as its auth header, and Send test checks it reaches you.

Datadog, Axiom and Better Stack fill in their header and body format; any other endpoint takes JSON lines or a JSON array. Posts are signed with IB-Signature like webhooks. Action params and record values are never sent.

A post your endpoint doesn't accept is tried again with the same lines, so nothing is skipped while it's down. After about a day of failures the drain is disabled, and enabling it carries on where it stopped.

More in Log drains.