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 RSyslog source
- Go to the Better Stack → Sources → Connect source.
- Name your source and select RSyslog 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: in.logs.betterstack.com
- 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.