DigitalOcean
Forward logs from DigitalOcean App Platform and Droplets to Sazabi for AI-powered analysis and investigation.
DigitalOcean is a native data source, which means Sazabi provisions and manages the forwarding infrastructure automatically. Once you connect your DigitalOcean account, logs from your selected apps and droplets start flowing to Sazabi within minutes.
About this data source
Sazabi creates log forwarding configurations for DigitalOcean App Platform applications and Droplets. This allows you to centralize logs from your DigitalOcean infrastructure for AI-powered analysis and investigation.
With DigitalOcean log forwarding, you can:
- Monitor App Platform applications in real-time
- Collect logs from Droplets running your services
- Investigate issues across your DigitalOcean infrastructure
- Correlate logs from multiple resources in a single view
Prerequisites
Before you begin, make sure you have:
- A DigitalOcean account with active resources (App Platform apps or Droplets)
- A DigitalOcean personal access token with read/write scope
Get your personal access token
Open API settings
Log in to your DigitalOcean account and navigate to API in the left sidebar, or go directly to the API tokens page.
Generate a new token
Click Generate New Token and configure:
- Token name: Enter a descriptive name like "Sazabi Log Forwarding"
- Expiration: Choose an appropriate expiration period
- Scopes: Select Full Access (read and write)
Copy the token immediately after creation. DigitalOcean only shows the token once and you cannot retrieve it later.
Connect DigitalOcean to Sazabi
Add DigitalOcean data source
Click Add Source and select DigitalOcean from the list of available data sources.
Enter your credentials
Paste your DigitalOcean personal access token into the token field. Sazabi will validate the token and fetch your available resources.
Select resources to monitor
Choose the App Platform applications and Droplets you want to forward logs from. You can select individual resources or monitor all resources in your account.
Complete setup
Click Connect to finalize the configuration. Sazabi will automatically set up log forwarding for your selected resources.
What Sazabi creates
When you connect DigitalOcean, Sazabi provisions:
- Log forwarding configuration for each selected App Platform application
- Log forwarding configuration for each selected Droplet
These configurations are managed automatically by Sazabi. You can view and modify which resources are monitored from the Data Sources settings at any time.
Verifying logs are flowing
Once you have connected DigitalOcean, you can verify that logs are flowing to Sazabi:
-
Ask the assistant: Open a thread in Sazabi and ask "Show me DigitalOcean logs from the last hour" or "What errors occurred in my App Platform apps?"
-
Check the dashboard: Navigate to your project in the Sazabi dashboard to see logs appear in real-time.
Troubleshooting
Token permissions
If Sazabi cannot fetch your resources, verify that your personal access token has Full Access (read and write) scope. Tokens with read-only scope cannot configure log forwarding.
App not found
If an App Platform application is not appearing in the resource list:
- Verify the app exists in your DigitalOcean account
- Check that your token has access to the team/project containing the app
- Ensure the app is not in a deleted or archived state
Unsupported resource type
Sazabi currently supports log forwarding for:
- App Platform applications
- Droplets
Other DigitalOcean resources (Kubernetes, Databases, Spaces) are not yet supported. Contact support if you need logging for additional resource types.
Logs not appearing
If logs are not flowing after setup:
- Wait a few minutes for the forwarding to propagate
- Generate some activity in your application to produce new logs
- Verify the resource is running and actively producing logs
- Check that the log forwarding configuration was created successfully