Please note this option is currently unavailable for MongoDB. Digital Ocean plans to introduce an RSyslog log drain in the future, though there's no ETA just yet.
Explore documentation
Better Stack Digital Ocean Managed Database Clusters
Start logging in 3 minutes
Collect logs from your managed Digital Ocean database clusters.
Set up Better Stack Digital Ocean source
- Go to the Better Stack → Sources → Connect source.
- Name your source and select Digital Ocean from the Platform dropdown.
- Click the Create source button.
- Copy the Source token from the Basic information section.
Set up Digital Ocean Managed Database Clusters
- Go to your Digital Ocean → Databases.
- Select your database and click the Settings tab.
- Click Log forwarding → Edit → + Rsyslog.
Fill in the following fields:
- Endpoint: $INGESTING_HOST
- Port: 6514
- Message format: Custom
- Log line template:
Set up Log line template<%pri%>1 %timestamp:::date-rfc3339% %HOSTNAME% %app-name% %procid% %msgid% [logtail@11993 source_token="$SOURCE_TOKEN"] %msg%
Click Save Destination, and you're done. 🎉
You should see your logs in Better Stack → Live tail.