DigitalOcean-public.v2-new_Monitoring
Create Sink
To create a new sink, send a POST request to /v2/monitoring/sinks. Forwards logs from the resources identified in resources to the specified pre-existing destination.
post/v2/monitoring/sinks
Request body
Example request
{
"destination_uuid": "9df2b7e9-3fb2-4577-b60a-e9c0d53f9a99",
"resources": [
{
"urn": "do:kubernetes:f453aa14-646e-4cf8-8c62-75a19fb24ec2",
"name": "managed_kubernetes_cluster"
}
]
}Response
This does not indicate the success or failure of any operation, just that the request has been accepted for processing.