Skip to content
GridRouterhome

Search

Search providers, capabilities and pages

Docs
API referenceLogs, drains and alerts

Test a log drain

POST
/v1/drains/{id}/test

Send one sample event to the drain now and report the result; updates drain health.

Authorization

bearer
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Match^drn_[a-z0-9]{8,32}$

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/drains/string/test"
{  "object": "log_drain_test",  "ok": true,  "status": 0,  "latency_ms": 0,  "error": "string"}