ListExtendfiles
Retrieves the extension file configurations for a Logstash instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
elasticsearch:ListExtendfiles |
get |
*Logstash
|
None | None |
Request syntax
GET /openapi/logstashes/{InstanceId}/extendfiles 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 |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
5FFD9ED4-C2EC-4E89-B22B-1ACB6FE1**** |
| Result |
array<object> |
The returned result. |
|
|
object |
|||
| filePath |
string |
The path of the extension file. |
/ssd/1/share/ls-cn-oew1qbgl****/logstash/current/config/custom/mysql-connector-java-5.1.35.jar |
| fileSize |
integer |
The size of the extension file. |
968668 |
| name |
string |
The name of the extension file. |
mysql-connector-java-5.1.35.jar |
| sourceType |
string |
The source type. |
ORIGIN |
Examples
Success response
JSON format
{
"RequestId": "5FFD9ED4-C2EC-4E89-B22B-1ACB6FE1****",
"Result": [
{
"filePath": "/ssd/1/share/ls-cn-oew1qbgl****/logstash/current/config/custom/mysql-connector-java-5.1.35.jar",
"fileSize": 968668,
"name": "mysql-connector-java-5.1.35.jar",
"sourceType": "ORIGIN"
}
]
}
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.