Patch Log Forwarder
Patch (partial update) a log forwarder
id
{
"certificate": "string",
"connectionRefreshInterval": 0,
"constraints": {
"bool": {
"filter": [
"Query Object"
],
"must": [
"Query Object"
],
"must_not": [
"Query Object"
],
"should": [
"Query Object"
]
},
"exists": {
"field": "string"
},
"match_all": {},
"match_phrase": {
"empty": false
},
"prefix": {
"empty": false
},
"range": {
"empty": false
},
"regexp": {
"empty": false
},
"term": {
"empty": false
},
"terms": {
"empty": false
}
},
"enabled": false,
"forwardComplementaryFields": false,
"host": "string",
"id": "string",
"name": "string",
"port": 0,
"protocol": "string",
"sslEnabled": false,
"tags": {
"tags": "string"
},
"transportProtocol": "string",
"workerCount": 0
}
certificate
connectionRefreshInterval
constraints
enabled
forwardComplementaryFields
host
id
name
port
protocol
sslEnabled
tags
transportProtocol
workerCount
Log forwarder patched successfully
{
"certificate": "string",
"connectionRefreshInterval": 0,
"constraints": {
"bool": "BoolQuery Object",
"exists": {
"field": "string"
},
"match_all": {},
"match_phrase": {
"empty": false
},
"prefix": {
"empty": false
},
"range": {
"empty": false
},
"regexp": {
"empty": false
},
"term": {
"empty": false
},
"terms": {
"empty": false
}
},
"enabled": false,
"forwardComplementaryFields": false,
"host": "string",
"id": "string",
"name": "string",
"port": 0,
"protocol": "string",
"sslEnabled": false,
"tags": {
"tags": "string"
},
"transportProtocol": "string",
"workerCount": 0
}
certificate
connectionRefreshInterval
constraints
enabled
forwardComplementaryFields
host
id
name
port
protocol
sslEnabled
tags
transportProtocol
workerCount
Bad request
{
"errorCode": "string",
"errorDetails": {},
"errorMessage": "string"
}
errorCode
errorDetails
errorMessage
Forbidden: Authentication required
{
"errorCode": "string",
"errorDetails": {},
"errorMessage": "string"
}
errorCode
errorDetails
errorMessage
Log forwarder not found
"ErrorBody Object"
errorCode
errorDetails
errorMessage
Internal server error
"ErrorBody Object"
errorCode
errorDetails
errorMessage
Certificate is not trusted
"ErrorBody Object"
errorCode
errorDetails
errorMessage
curl -X PATCH -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}'