This is the multi-page printable view of this section. Click here to print.
Set Cluster Logging
1 - 1.3
put /v1/clusters/{cluster_id}/logging
Description
Set logging on the cluster
State ACTIVE (CURRENT)
| Version | Not Before |
|---|---|
| 1.3 | - |
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
| path | cluster_id required | Cluster ID Example : 70a599e031e749b7b260868f441e862b | string | None |
| body | body required | ClusterLoggingSetRequest |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
| 200 | OK | ClusterSetResponse |
| 400 | Bad Request | None |
| 403 | Forbidden | None |
| 404 | Not Found | None |
Example HTTP request
Request path
/v1/clusters/{cluster_id}/logging
Request header
"Scp-Accesskey = 2sd2gg=2agbdSD26svcD",
"Scp-Signature = fsfsdf235f9U35sdgf35Xsf/qgsdgsdg326=sfsdr23rsef=",
"Scp-Timestamp = 1605290625682",
"Scp-ClientType = Openapi",
"Accept-Language = en-US",
"Scp-Api-Version = ske 1.3"
Request body
{
"cloud_logging_enabled": "true"
}
Example HTTP response
Response 200
{
"account_id": "617b3d0e90c24a5fa1f65a3824861354",
"request_id": "80a599e031e749b7b260868f441e862b",
"resource_id": "70a599e031e749b7b260868f441e862b"
}
2 - 1.2
put /v1/clusters/{cluster_id}/logging
Description
Set logging on the cluster
State ACTIVE (SUPPORTED)
| Version | Not Before |
|---|---|
| 1.2 | 20261014 |
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
| path | cluster_id required | Cluster ID Example : 70a599e031e749b7b260868f441e862b | string | None |
| body | body required | ClusterLoggingSetRequest |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
| 200 | OK | ClusterSetResponse |
| 400 | Bad Request | None |
| 403 | Forbidden | None |
| 404 | Not Found | None |
Example HTTP request
Request path
/v1/clusters/{cluster_id}/logging
Request header
"Scp-Accesskey = 2sd2gg=2agbdSD26svcD",
"Scp-Signature = fsfsdf235f9U35sdgf35Xsf/qgsdgsdg326=sfsdr23rsef=",
"Scp-Timestamp = 1605290625682",
"Scp-ClientType = Openapi",
"Accept-Language = en-US",
"Scp-Api-Version = ske 1.2"
Request body
{
"cloud_logging_enabled": "true"
}
Example HTTP response
Response 200
{
"account_id": "617b3d0e90c24a5fa1f65a3824861354",
"request_id": "80a599e031e749b7b260868f441e862b",
"resource_id": "70a599e031e749b7b260868f441e862b"
}
3 - 1.1
put /v1/clusters/{cluster_id}/logging
Description
Set logging on the cluster
State ACTIVE (SUPPORTED)
| Version | Not Before |
|---|---|
| 1.1 | 20260919 |
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
| path | cluster_id required | Cluster ID Example : 70a599e031e749b7b260868f441e862b | string | None |
| body | body required | ClusterLoggingSetRequest |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
| 200 | OK | ClusterSetResponse |
| 400 | Bad Request | None |
| 403 | Forbidden | None |
| 404 | Not Found | None |
Example HTTP request
Request path
/v1/clusters/{cluster_id}/logging
Request header
"Scp-Accesskey = 2sd2gg=2agbdSD26svcD",
"Scp-Signature = fsfsdf235f9U35sdgf35Xsf/qgsdgsdg326=sfsdr23rsef=",
"Scp-Timestamp = 1605290625682",
"Scp-ClientType = Openapi",
"Accept-Language = en-US",
"Scp-Api-Version = ske 1.1"
Request body
{
"cloud_logging_enabled": "true"
}
Example HTTP response
Response 200
{
"account_id": "617b3d0e90c24a5fa1f65a3824861354",
"request_id": "80a599e031e749b7b260868f441e862b",
"resource_id": "70a599e031e749b7b260868f441e862b"
}
4 - 1.0
put /v1/clusters/{cluster_id}/logging
Description
Set logging on the cluster
State ACTIVE (DEPRECATED)
Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.
| Version | Not Before |
|---|---|
| 1.0 | 20251231 |
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
| path | cluster_id required | Cluster ID Example : 70a599e031e749b7b260868f441e862b | string | None |
| body | body required | ClusterLoggingSetRequest |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
| 200 | OK | ClusterSetResponse |
| 400 | Bad Request | None |
| 403 | Forbidden | None |
| 404 | Not Found | None |
Example HTTP request
Request path
/v1/clusters/{cluster_id}/logging
Request header
"Scp-Accesskey = 2sd2gg=2agbdSD26svcD",
"Scp-Signature = fsfsdf235f9U35sdgf35Xsf/qgsdgsdg326=sfsdr23rsef=",
"Scp-Timestamp = 1605290625682",
"Scp-ClientType = Openapi",
"Accept-Language = en-US",
"Scp-Api-Version = ske 1.0"
Request body
{
"cloud_logging_enabled": "true"
}
Example HTTP response
Response 200
{
"account_id": "617b3d0e90c24a5fa1f65a3824861354",
"request_id": "80a599e031e749b7b260868f441e862b",
"resource_id": "70a599e031e749b7b260868f441e862b"
}