GET Log Forwarder
Gets a list of log forwarding destinations.
Indicates whether to include extended information in the forwarder result, such as forwarder stats (state, logsForwarded, logsDropped, rate).
Successfully retrieved log forwarding configurations.
[
{
"name": "test 1",
"host": "10.10.10.10",
"port": 9543,
"protocol": "cfapi",
"sslEnabled": true,
"workerCount": 3,
"connectionRefreshInterval": 60,
"diskCacheSize": 1000000000,
"tags": {
"tag1": "value1"
},
"filter": "",
"forwardComplementaryFields": true,
"id": "d8198acb-dde9-3a0a-90dd-995b68554dc8",
"forwarderStats": {
"state": "ACTIVE",
"rate": 1.4,
"logsForwarded": 84,
"logsDropped": 0
}
},
{
"name": "test 2",
"host": "10.10.10.12",
"port": 9543,
"protocol": "cfapi",
"sslEnabled": true,
"workerCount": 3,
"connectionRefreshInterval": 60,
"diskCacheSize": 1000000000,
"tags": {},
"filter": "",
"forwardComplementaryFields": true,
"id": "ad2be1d1-ba1c-3242-8328-f0346be3c7db",
"forwarderStats": {
"state": "ACTIVE",
"rate": 1.4,
"logsForwarded": 84,
"logsDropped": 0
}
},
{
"name": "test 3",
"host": "10.10.10.13",
"port": 9543,
"protocol": "cfapi",
"sslEnabled": false,
"workerCount": 3,
"connectionRefreshInterval": 60,
"diskCacheSize": 1000000000,
"tags": {},
"filter": "",
"forwardComplementaryFields": true,
"id": "7ba323c5-97a9-33b4-8c34-94947abe9659",
"forwarderStats": {
"state": "IDLE",
"rate": 0,
"logsForwarded": 0,
"logsDropped": 0
}
}
]
The request failed because the request body either did not contain valid JSON, or did not match the required JSON format.
{
"errorMessage": "Invalid request body.",
"errorCode": "JSON_FORMAT_ERROR",
"errorDetails": {
"reason": "..."
}
}
A message describing the error.
A code representing the type of error.
Dynamic error details, where the field name can vary depending on the request field and error code.
The request was refused because it lacks valid authentication
credentials. This can happen if the Authorization header
was missing, or if it contained an invalid session ID.
Obtain a new session ID and retry the request,
or make an unauthenticated request without the Authorization header.
"Invalid session ID"
The request was refused because the session ID has
expired. Obtain a new session ID from /api/v1/sessions.
"Login Timeout"
curl -H 'Authorization: <value>' https://{api_host}/api/v1/log-forwarder