LogDrain in 60 seconds
Send structured logs from any service to Luxkern. Search, filter, and alert on them instantly.
Step 1: Create a drain (15s)
Go to the LogDrain dashboard, click New Drain, and name it (e.g. "production-api"). Copy the drain ID.
Step 2: Get your API key (15s)
Navigate to Settings > API Keys and create a key with the logdrain:write scope.
Step 3: Send your first log (30s)
Use a simple curl call to push a log entry:
bash
curl -X POST https://api.luxkern.com/v1/logdrain/ingest \ -H "Authorization: Bearer lxk_live_xxx" \ -H "Content-Type: application/json" \ -d '{ "drain": "production-api", "level": "info", "message": "User signed up", "meta": { "user_id": "usr_123", "plan": "pro" } }'Step 4: View logs in the dashboard
Open your drain in the dashboard. Your log entry appears in real-time with full-text search and level filtering.
LogDrain supports batch ingestion, structured metadata, and alert rules based on log patterns. Full LogDrain reference