Application Logging Pipeline V2

Operations for the one-touch application logging pipeline on a source cluster.

Create an application logging pipeline

Starts an application logging pipeline for a source cluster. Provisions dedicated Kafka, Kafka Connect, and OpenSearch clusters. At most one live pipeline is allowed per source cluster.

SecurityBasic Authentication
Request
path Parameters
clusterId
required
string <uuid>

ID of the source cluster.

Request Body schema: application/json
required

Catalogue size and retention for the pipeline.

retentionDays
required
integer <int32>

Number of days to retain shipped logs. v1 allows 30 only.

Value: 30
catalogueSize
required
string

Catalogue size used to provision the dependent clusters.

Enum: "SMALL" "MEDIUM" "LARGE"
Responses
202

Pipeline creation accepted. The pipeline is PROVISIONING.

400

The source cluster is not eligible, the request is invalid, or the account is on a free trial (operation not permitted during free trial).

403

Forbidden.

404

Source cluster not found.

409

A live application logging pipeline already exists for this source cluster.

post/cluster-management/v2/operations/clusters/v2/{clusterId}/application-logging-pipelines/v1
Request samples
application/json
{
  • "retentionDays": 30,
  • "catalogueSize": "SMALL"
}
Response samples
application/json
{
  • "configuration": {
    },
  • "lastFailureAt": "2019-08-24T14:15:22Z",
  • "health": "UNKNOWN",
  • "disabledAt": "2019-08-24T14:15:22Z",
  • "sourceClusterId": "97206f4e-c960-4a88-84a6-c853265d94e3",
  • "lastHealthCheckAt": "2019-08-24T14:15:22Z",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "lastFailureMessage": "string",
  • "retentionDays": 0,
  • "progress": {
    },
  • "applicationGroupId": "7214f65d-cad2-4baa-86a5-43ea37172750",
  • "catalogueSize": "SMALL",
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "dependentClusters": {
    },
  • "status": "PROVISIONING",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Get an application logging pipeline

Retrieves an application logging pipeline on a source cluster.

SecurityBasic Authentication
Request
path Parameters
clusterId
required
string <uuid>

ID of the source cluster.

pipelineId
required
string <uuid>

ID of the application logging pipeline.

Responses
200

Application logging pipeline details.

400

Bad request.

403

Forbidden.

404

Application logging pipeline not found.

get/cluster-management/v2/operations/clusters/v2/{clusterId}/application-logging-pipelines/v1/{pipelineId}
Request samples
Response samples
application/json
{
  • "configuration": {
    },
  • "lastFailureAt": "2019-08-24T14:15:22Z",
  • "health": "UNKNOWN",
  • "disabledAt": "2019-08-24T14:15:22Z",
  • "sourceClusterId": "97206f4e-c960-4a88-84a6-c853265d94e3",
  • "lastHealthCheckAt": "2019-08-24T14:15:22Z",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "lastFailureMessage": "string",
  • "retentionDays": 0,
  • "progress": {
    },
  • "applicationGroupId": "7214f65d-cad2-4baa-86a5-43ea37172750",
  • "catalogueSize": "SMALL",
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "dependentClusters": {
    },
  • "status": "PROVISIONING",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Delete an application logging pipeline

Deletes an ACTIVE or DISABLED application logging pipeline. The source cluster is not deleted. Calling this endpoint is the confirmation.

SecurityBasic Authentication
Request
path Parameters
clusterId
required
string <uuid>

ID of the source cluster.

pipelineId
required
string <uuid>

ID of the application logging pipeline.

Responses
204

Delete accepted. The pipeline is tearing down. No response body is returned.

400

Bad request.

403

Forbidden.

404

Application logging pipeline not found.

409

The pipeline is not ACTIVE or DISABLED, or a disable or enable is already running. A FAILED pipeline is already cleaned up; create a new pipeline instead.

delete/cluster-management/v2/operations/clusters/v2/{clusterId}/application-logging-pipelines/v1/{pipelineId}
Request samples
Response samples
application/json
{
  • "errors": [
    ]
}

Disable an application logging pipeline

Stops log shipping and pauses the OpenSearch sink. Dependent clusters and indexed logs are kept.

SecurityBasic Authentication
Request
path Parameters
clusterId
required
string <uuid>

ID of the source cluster.

pipelineId
required
string <uuid>

ID of the application logging pipeline.

Responses
202

Disable accepted. The returned status is the pipeline state before the workflow runs. Poll GET until the status changes.

400

Bad request.

403

Forbidden.

404

Application logging pipeline not found.

409

The pipeline is not ACTIVE, a disable is already running, or a delete is already running.

put/cluster-management/v2/operations/clusters/v2/{clusterId}/application-logging-pipelines/v1/{pipelineId}/disable
Request samples
Response samples
application/json
{
  • "configuration": {
    },
  • "lastFailureAt": "2019-08-24T14:15:22Z",
  • "health": "UNKNOWN",
  • "disabledAt": "2019-08-24T14:15:22Z",
  • "sourceClusterId": "97206f4e-c960-4a88-84a6-c853265d94e3",
  • "lastHealthCheckAt": "2019-08-24T14:15:22Z",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "lastFailureMessage": "string",
  • "retentionDays": 0,
  • "progress": {
    },
  • "applicationGroupId": "7214f65d-cad2-4baa-86a5-43ea37172750",
  • "catalogueSize": "SMALL",
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "dependentClusters": {
    },
  • "status": "PROVISIONING",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Enable an application logging pipeline

Resumes a DISABLED application logging pipeline using its stored configuration.

SecurityBasic Authentication
Request
path Parameters
clusterId
required
string <uuid>

ID of the source cluster.

pipelineId
required
string <uuid>

ID of the application logging pipeline.

Responses
202

Enable accepted. The returned status is the pipeline state before the workflow runs. Poll GET until the status changes.

400

Bad request.

403

Forbidden.

404

Application logging pipeline not found.

409

The pipeline is not DISABLED, an enable is already running, or a delete is already running.

put/cluster-management/v2/operations/clusters/v2/{clusterId}/application-logging-pipelines/v1/{pipelineId}/enable
Request samples
Response samples
application/json
{
  • "configuration": {
    },
  • "lastFailureAt": "2019-08-24T14:15:22Z",
  • "health": "UNKNOWN",
  • "disabledAt": "2019-08-24T14:15:22Z",
  • "sourceClusterId": "97206f4e-c960-4a88-84a6-c853265d94e3",
  • "lastHealthCheckAt": "2019-08-24T14:15:22Z",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "lastFailureMessage": "string",
  • "retentionDays": 0,
  • "progress": {
    },
  • "applicationGroupId": "7214f65d-cad2-4baa-86a5-43ea37172750",
  • "catalogueSize": "SMALL",
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "dependentClusters": {
    },
  • "status": "PROVISIONING",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Get the current live application logging pipeline for a source cluster

Retrieves the current live application logging pipeline for a source cluster. FAILED and DELETED pipelines are not returned.

SecurityBasic Authentication
Request
path Parameters
clusterId
required
string <uuid>

ID of the source cluster.

Responses
200

The current live application logging pipeline.

400

Bad request.

403

Forbidden.

404

No live application logging pipeline exists for this cluster.

get/cluster-management/v2/operations/clusters/v2/{clusterId}/current-application-logging-pipeline/v1
Request samples
Response samples
application/json
{
  • "configuration": {
    },
  • "lastFailureAt": "2019-08-24T14:15:22Z",
  • "health": "UNKNOWN",
  • "disabledAt": "2019-08-24T14:15:22Z",
  • "sourceClusterId": "97206f4e-c960-4a88-84a6-c853265d94e3",
  • "lastHealthCheckAt": "2019-08-24T14:15:22Z",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "lastFailureMessage": "string",
  • "retentionDays": 0,
  • "progress": {
    },
  • "applicationGroupId": "7214f65d-cad2-4baa-86a5-43ea37172750",
  • "catalogueSize": "SMALL",
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "dependentClusters": {
    },
  • "status": "PROVISIONING",
  • "updatedAt": "2019-08-24T14:15:22Z"
}