Update a Log Service
Updates information for an existing logging service within your Fivetran account.
Request schema
azure_monitor_log
Path parameters
logId
stringrequired
The unique identifier for the log service within the Fivetran system.
example:
Header parameters
Authorization
stringrequired
HTTP: basicAuth
HTTP AuthorizationScheme: basic
Accept
string
default:
example:
Request
enabled
boolean
The boolean value specifying whether the log service is enabled.
example:
config
object
The setup configuration. Check possible config formats in create method
Http + 1.1
PATCH
https://api.fivetran.com/v1/external-logging/log_id
PATCH /v1/external-logging/log_id HTTP/1.1
Accept: application/json
Authorization: Basic REPLACE_BASIC_AUTH
Content-Type: application/json
Host: api.fivetran.com
Content-Length: 39
{
"enabled": true,
"config": null
}
Responses
200
Successful response
Successful response schema
code
stringrequired
Response status code
example:
message
string
Response status text
example:
data
objectrequired
id
stringrequired
The unique identifier for the log service within the Fivetran system.
example:
service
stringrequired
azure_monitor_log
The name of the log service type within the Fivetran system. We support the following log services: azure_monitor_log, cloudwatch, datadog_log, splunkLog, new_relic_log, stackdriver (Google Cloud Logging).
example:
enabled
booleanrequired
The boolean value specifying whether the log service is enabled.
example:
config
object
workspace_id
string
example:
primary_key
string
format:
example:
{
"code": "Success",
"message": "Operation performed.",
"data": {
"id": "log_id",
"service": "azure_monitor_log",
"enabled": true,
"config": {
"workspace_id": "string",
"primary_key": "string"
}
}
}