Home / Servers / DigitalOcean API / databases_create_logsink
Create Logsink for a Database Cluster
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Create Logsink for a Database Cluster To create logsink for a database cluster, send a POST request to /v2/databases/$DATABASE_ID/logsink. [POST /v2/databases/{database_cluster_uuid}/logsink]
Name on the gateway: digitalocean_api__databases_create_logsink · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
database_cluster_uuid required | string | A unique identifier for a database cluster. |
sink_name required | string | The name of the Logsink |
sink_type required | rsyslog | elasticsearch | opensearch | datadog | Type of logsink integration. - Use datadog for Datadog integration **only with… |
config required | object |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "digitalocean_api__databases_create_logsink",
"arguments": {
"database_cluster_uuid": "…",
"sink_name": "…",
"sink_type": "…",
"config": "…"
}
}Or connect the DigitalOcean API server directly, which lists 874 tools including this one:
claude mcp add --transport http hj-digitalocean-api https://mcp.hjlabs.in/mcp/digitalocean-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the create logsink for a database cluster tool with database_cluster_uuid set to ….