Get Sink
To get the details of a sink (resources and destination), send a GET request to /v2/monitoring/sinks/${sink_uuid}.
Path parameters
A unique identifier for a sink.
Response
The response is a JSON object with a sink key.
Example response
{
"sink": {
"destination": {
"id": "01f30bfa-319a-4769-ba95-9d43971fb514",
"name": "managed_opensearch_cluster",
"type": "opensearch_dbaas",
"config": {
"id": "41078d41-165c-4cff-9f0a-19536e3e3d49",
"credentials": {
"username": "username",
"password": "password"
},
"endpoint": "example.com",
"cluster_uuid": "85148069-7e35-4999-80bd-6fa1637ca385",
"cluster_name": "managed_dbaas_cluster",
"index_name": "logs",
"retention_days": 14
}
},
"resources": [
{
"urn": "do:kubernetes:f453aa14-646e-4cf8-8c62-75a19fb24ec2",
"name": "managed_kubernetes_cluster"
}
]
}
}Changes
Changed in 4 of the 8 revisions of this API.14
- ○
api tag
DigitalOcean-public.v2-new_Monitoringaddedapi-tag-added
- ○
api tag
Monitoringremovedapi-tag-removed
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
endpoint added
endpoint-added
This revision also has 70 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 436 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
endpoint added
endpoint-added
This revision also has 70 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○