Create a Log Service
Creates a new logging service within a specified group in your Fivetran account.
Request schema
Header parameters
HTTP: basicAuth
HTTP AuthorizationScheme: basic
Request
The unique identifier for the group within the Fivetran system
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).
The boolean value specifying whether the log service is enabled.
POST /v1/external-logging HTTP/1.1
Accept: application/json
Authorization: Basic REPLACE_BASIC_AUTH
Content-Type: application/json
Host: api.fivetran.com
Content-Length: 158
{
"group_id": "group_id",
"service": "azure_monitor_log",
"enabled": true,
"config": {
"workspace_id": "string",
"primary_key": "string"
}
}
Responses
Successful response schema
Response status code
Response status text
The unique identifier for the log service within the Fivetran system.
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).
The boolean value specifying whether the log service is enabled.
{
"code": "Success",
"message": "Operation performed.",
"data": {
"id": "log_id",
"service": "azure_monitor_log",
"enabled": true,
"config": {
"workspace_id": "string",
"primary_key": "string"
}
}
}