All Products
Search
Document Center

Common data structures

Last Updated: Jan 05, 2022

Logstash

The parameter object.

Parameter

Type

Example

Description

endpointList

Array

The node information.

host

String

172.16.xx.xx

The IP address of the node.

port

Long

9200

The access port number of the node.

zoneId

String

cn-hangzhou-i

The ID of the zone where the node resides.

status

String

NORMAL

The status of the zone. Allows you to perform the following operations:

  • ISOLATION: offline
  • NORMAL

description

String

ls-cn-abc

The name of the instance.

resourceGroupId

String

rg-acfm2h5vbzd****

The ID of the resource group to which the instance belongs.

endTime

Long

4749897600000

The last expiration time of the subscription instance.

instanceId

String

ls-cn-n6w1o5jq****

The ID of the instance.

config

Map

Configure ECS instances.

createdAt

String

2018-07-13T03:58:07.253Z

The time when the instance was created.

networkConfig

Object

The network configurations.

type

String

vpc

The network type. Currently, only Virtual Private Cloud (VPC) is supported.

vpcId

String

vpc-abc

The VPC ID of the instance.

vsArea

String

cn-hangzhou-*

The zone where the cluster resides.

vswitchId

String

vsw-def

The ID of the vSwitch

zoneInfos

Array

The information about the zones.

status

String

NORMAL

The status of the zone. Allows you to perform the following operations:

  • ISOLATION: offline
  • NORMAL

zoneId

String

cn-hangzhou-i

The ID of the zone to which the container groups belong.

nodeAmount

Long

2

The number of data nodes.

updatedAt

String

2018-07-18T10:10:04.484Z

The time when the instance was last updated.

version

String

6.7.0_with_X-Pack

The version of the read-only instance. Allows you to perform the following operations:

  • 6.7.0_with_X-Pack
  • 7.4.0_with_X-Pack

dataNode

Boolean

true

Specifies whether to enable data nodes. This parameter must be set to true.

nodeSpec

Object

Data node configurations.

disk

Long

50

The disk size of the node.

diskType

String

cloud_ssd

The disk type of the node.

spec

String

logstash.n4.small

The instance type of the node.

paymentType

String

postpaid

The billing method of the instance. Allows you to perform the following operations:

  • prepaid: subscription
  • postpaid: pay-as-you-go

protocol

String

HTTP

The access protocol of the instance.

tags

Array

The tags of the instance. Each tag is a key-value pair.

tagKey

String

env

The key of the tag.

tagValue

String

dev

The value of the tag.

zoneCount

Long

1

The number of zones.