Unkey
Add an HTTP log drain in the Unkey dashboard pointed at your Sazabi intake URL to forward API key verifications, rate limits, audit logs, gateway requests, and runtime logs.
All Unkey integration capabilities
About
Stream your Unkey API key verifications, rate limit decisions, audit logs, gateway HTTP requests, and runtime logs into Sazabi. Set up an HTTP log drain in Unkey that points at Sazabi, and Unkey sends your workspace events automatically. There is no agent or sidecar to deploy.
Prerequisites
- An active Unkey workspace with access to the Log Drains feature.
- Your Sazabi intake URL (shown above).
Set up in the dashboard
Open the log drain form
In the Unkey dashboard, navigate to Settings > Log Drains and click Create Log Drain.
Configure destination and stream
Fill in the log drain fields:
- Name:
Sazabi(or a descriptive name for this destination) - Stream: Select the stream you want to export (Key verifications, Rate limits, Audit logs, Gateway HTTP requests, or Runtime logs)
- Destination:
HTTP
Set URL and encoding
- URL: Paste your Sazabi intake URL (shown above)
- Encoding:
JSON(orNDJSON)
Save and verify
Click Create Log Drain. Unkey begins sending log batches to Sazabi immediately.
Set up with the CLI
You can also register the Unkey log source with the Sazabi CLI (installed and authenticated — see CLI reference).
Registering the source mints the same intake URL the dashboard shows above (the public key is embedded in its hostname):
sazabi log-sources create unkey --mode manualThe command prints the intake URL for the new source — copy the whole URL and paste it into Unkey's HTTP log drain URL field. Run sazabi log-sources get <log-source-id> at any time to reprint the endpoint, or sazabi log-sources list to see every log source in the project.
Verify
Verify an API key, trigger a rate limit check, or route a request through Unkey Gateway to generate log activity. Open the Intake page in the Sazabi dashboard and confirm logs from the Unkey source appear. Logs typically arrive within a few minutes of the activity.
Troubleshooting
No logs after saving the drain — Confirm that the destination URL in Unkey matches your Sazabi intake URL, and check the delivery logs under Settings > Log Drains > [Your Drain] in the Unkey dashboard to verify that delivery attempts are succeeding with a 200 status.
Log drain failing — If Unkey marks the drain as failing, check the delivery logs on Unkey to inspect the diagnostic response body and verify your network connectivity.