DescribeLogstash
Queries the details of a Logstash instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
elasticsearch:DescribeLogstash |
get |
*Logstash
|
None | None |
Request syntax
GET /openapi/logstashes/{InstanceId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
ls-cn-s9dsk3k4k**** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
C9334241-4837-46C2-B24B-9BDC517318DE |
| Result |
object |
The details of the instance. |
|
| config |
object |
The configuration information of the instance. |
{"slowlog.threshold.warn": "2s","slowlog.threshold.info": "1s","slowlog.threshold.debug": "500ms","slowlog.threshold.trace": "100ms" } |
| paymentType |
string |
The billing method of the instance. Valid values:
|
prepaid |
| ResourceGroupId |
string |
The ID of the resource group to which the instance belongs. |
rg-aekzvowej3i**** |
| nodeAmount |
integer |
The number of nodes in the instance. |
2 |
| description |
string |
The name of the instance. |
ls-cn-abc |
| createdAt |
string |
The time when the instance was created. |
2020-02-06T14:12:03.672Z |
| status |
string |
The status of the instance. Valid values:
|
active |
| vpcInstanceId |
string |
The ID of the VPC to which the instance belongs. |
vpc-bp16k1dvzxtmagcva**** |
| updatedAt |
string |
The time when the instance was last updated. |
2020-02-06T14:22:36.850Z |
| version |
string |
The version of the instance. |
7.4.0_with_X-Pack |
| instanceId |
string |
The instance ID. |
ls-cn-abc |
| endpointList |
array<object> |
The access information of the nodes. |
|
|
object |
|||
| zoneId |
string |
The zone ID of the node. |
cn-hangzhou-b |
| port |
string |
The port number. |
9600 |
| host |
string |
The IP address of the node. |
172.16.**.** |
| Tags |
array<object> |
The instance labels. |
|
|
object |
|||
| tagKey |
string |
The tag key. |
env |
| tagValue |
string |
The tag value. |
dev |
| ZoneInfos |
array<object> |
The zone information. |
|
|
object |
|||
| status |
string |
The status of the zone. Valid values:
|
NORMAL |
| zoneId |
string |
The zone ID. |
cn-hangzhou-b |
| ExtendConfigs |
array<object> |
The list of extended configurations for the Logstash instance. |
|
|
object |
The cluster extension parameter settings. |
{"configType":"aliVersion","aliVersion":"ali1.3.0"} |
|
| nodeSpec |
object |
The configuration information of the node. |
|
| spec |
string |
The specifications of the node. |
elasticsearch.sn1ne.large |
| disk |
integer |
The disk size of the node. |
20 |
| diskEncryption |
boolean |
Specifies whether cloud disk encryption is enabled. Valid values:
|
true |
| diskType |
string |
The disk type of the node. |
cloud_ssd |
| networkConfig |
object |
The network configurations. |
|
| vpcId |
string |
The VPC ID. |
vpc-bp16k1dvzxtmagcva**** |
| vsArea |
string |
The zone where the instance is deployed. |
cn-hangzhou-* |
| type |
string |
The network type. Currently, only VPC is supported. |
vpc |
| vswitchId |
string |
The vSwitch ID. |
vsw-bp1k4ec6s7sjdbudw**** |
| endTime |
integer |
The time when the instance expires. The value is a UNIX timestamp in milliseconds. |
1715826092044 |
For more parameter descriptions, see ListLogstash.
Examples
Success response
JSON format
{
"RequestId": "C9334241-4837-46C2-B24B-9BDC517318DE",
"Result": {
"config": {
"slowlog.threshold.warn": "2s",
"slowlog.threshold.info": "1s",
"slowlog.threshold.debug": "500ms",
"slowlog.threshold.trace": "100ms"
},
"paymentType": "prepaid",
"ResourceGroupId": "rg-aekzvowej3i****",
"nodeAmount": 2,
"description": "ls-cn-abc",
"createdAt": "2020-02-06T14:12:03.672Z",
"status": "active",
"vpcInstanceId": "vpc-bp16k1dvzxtmagcva****",
"updatedAt": "2020-02-06T14:22:36.850Z",
"version": "7.4.0_with_X-Pack",
"instanceId": "ls-cn-abc",
"endpointList": [
{
"zoneId": "cn-hangzhou-b",
"port": "9600",
"host": "172.16.**.**"
}
],
"Tags": [
{
"tagKey": "env",
"tagValue": "dev"
}
],
"ZoneInfos": [
{
"status": "NORMAL",
"zoneId": "cn-hangzhou-b"
}
],
"ExtendConfigs": [
[
{
"configType": "aliVersion",
"aliVersion": "ali1.3.0"
}
]
],
"nodeSpec": {
"spec": "elasticsearch.sn1ne.large",
"disk": 20,
"diskEncryption": true,
"diskType": "cloud_ssd"
},
"networkConfig": {
"vpcId": "vpc-bp16k1dvzxtmagcva****",
"vsArea": "cn-hangzhou-*",
"type": "vpc",
"vswitchId": "vsw-bp1k4ec6s7sjdbudw****"
},
"endTime": 1715826092044
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.