Retrieves a list of Integration log drains
Retrieves a list of all Integration log drains that are defined for the authenticated user or team. When using an OAuth2 token, the list is limited to log drains created by the authenticated integration.
Authorizations
Default authentication mechanism
Query Parameters
The Team identifier to perform the request on behalf of.
"team_1a2b3c4d5e6f7g8h9i0j1k2l"
The Team slug to perform the request on behalf of.
"my-team-url-slug"
Response
A timestamp that tells you when the log drain was created
1558531915505
The unique identifier of the log drain. Always prefixed with ld_
"ld_nBuA7zCID8g4QZ8g"
The name of the log drain
"My first log drain"
The identifier of the team or user whose events will trigger the log drain
"kr1PsOIzqEL5Xg6M4VZcZosf"
The URL to call when logs are generated
"https://example.com/log-drain"
The environment of log drain
The environment of log drain
production
, preview
["production"]
The oauth2 client application id that created this log drain
"oac_xRhY4LAB7yLhUADD69EvV7ct"
The client configuration this log drain was created with
"icfg_cuwj0AdCdH3BwWT4LPijCC7t"
The delivery log format
json
, ndjson
, syslog
, protobuf
"json"
"AbCgVkqoxXeXCDWehVir51LHGrrcWL4mkYm14W6UBPWQeb"
The identifier of the projects this log drain is associated with
"AbCgVkqoxXeXCDWehVir51LHGrrcWL4mkYm14W6UBPWQeb"
The sources from which logs are currently being delivered to this log drain.
The sources from which logs are currently being delivered to this log drain.
build
, edge
, lambda
, static
, external
, firewall
["build", "edge"]
Whether the log drain was created by an integration or by a user
self-served
, integration
"integration"
The headers to send with the request
"{\"Authorization\": \"Bearer 123\"}"
The branch regexp of log drain
"feature/*"
The sampling rate of log drain
0.5