Logs
Log Sources
A source authenticates ingest and scopes stored events to a workspace (and optional project). Tokens are shown once — treat them like secrets.
Overview
Create sources under Logs → Ingest in the product. Each source has a hashed credential; plaintext is available only at creation (and rotation). Ingest without a valid credential is rejected — nothing is stored.
Tokens
- Legacy source token:
lt_…—Authorization: Bearer lt_…. - Project secret key:
sk_live_…— preferred viacreateMydleLoggerapiKey.
Both are server-side only. Do not embed them in browser code or public client bundles.
Projects
Sources can be bound to a project in the workspace. Search, live tail, and export can filter by source and project; workspace id is always taken from the signed-in session, never from the client body.
Limitations
- Requires
log_management(Pro+). - Rotating a token invalidates the previous plaintext immediately.
- No events appear until a source successfully ingests.