ListPipeline
Retrieves the list of Logstash pipelines.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
elasticsearch:ListPipeline |
get |
*Logstash
|
None | None |
Request syntax
GET /openapi/logstashes/{InstanceId}/pipelines HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The Logstash instance ID. |
ls-cn-oew1qbgl**** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| pipelineId |
string |
No |
The ID of the pipeline. |
pipeline_test |
| page |
integer |
No |
Specifies the page number for a paged query. Valid values: 1 to 200. Default value: 1. |
1 |
| size |
integer |
No |
Specifies the number of pipelines per page for a paged query. Valid values: 1 to 200. |
15 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
5FFD9ED4-C2EC-4E89-B22B-1ACB6FE1**** |
| Headers |
object |
The response headers. |
|
| X-Total-Count |
integer |
The total number of records. |
2 |
| Result |
array<object> |
The returned result. |
|
|
object |
The information about a single Logstash pipeline. |
||
| pipelineStatus |
string |
The status of the pipeline. Valid values:
|
NOT_DEPLOYED |
| gmtCreatedTime |
string |
The time when the pipeline was created. The format is YYYY-MM-DDTHH:mm:ss.SSSZ, where the trailing Z indicates UTC. |
2020-08-05T03:10:38.188Z |
| gmtUpdateTime |
string |
The time when the pipeline was updated. The format is YYYY-MM-DDTHH:mm:ss.SSSZ, where the trailing Z indicates UTC. |
2020-08-05T08:43:31.757Z |
| pipelineId |
string |
The ID of the pipeline. |
pipeline_test |
Examples
Success response
JSON format
{
"RequestId": "5FFD9ED4-C2EC-4E89-B22B-1ACB6FE1****",
"Headers": {
"X-Total-Count": 2
},
"Result": [
{
"pipelineStatus": "NOT_DEPLOYED",
"gmtCreatedTime": "2020-08-05T03:10:38.188Z",
"gmtUpdateTime": "2020-08-05T08:43:31.757Z",
"pipelineId": "pipeline_test"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ComponentCodeValueError | component value is disable | |
| 401 | UserNotOpen | Aliyun account is not open elasticsearch | |
| 401 | StsRoleAccountNoPermission | Role account has no permission or expired | |
| 401 | SubAccountNoPermission | Aliyun sub account has no permission, please authorize your sub account in Aliyun RAM | |
| 401 | UserUnauthorized | Authentication required |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.