API overview

Updated at:

API standards and multilingual preset SDKs

The OpenAPI of this product (elasticsearch/2017-06-13) uses the ROA signature style. We have encapsulated SDKs for common programming languages for developers. Developers can download the SDK to directly call this product's OpenAPI without worrying about technical details. If the existing SDK does not meet your needs, you can use the signature mechanism for self-signing integration. Since the details of self-signing are very complex, it may take around 5 business days. Therefore, we recommend joining our DingTalk service group (147535001692) and conducting signature integration under expert guidance.

Before using the API, you need to prepare your identity account and access key (AccessKey) to effectively access the API through client tools (such as SDK and CLI). For details, see Obtain an AccessKey.

Custom signature scenarios

If your business scenario has special requirements and you need to integrate the API through self-signing, we recommend consulting our technical support team first (DingTalk service group: 147535001692) to obtain professional guidance and ensure efficient integration.

Account and security preparation

Alibaba Cloud accounts have full administrative permissions over all resources. Once an AccessKey is compromised, all associated resources will be at risk of unauthorized access. To ensure security, it is recommended to create a RAM user with only API access permissions and configure its AccessKey, while configuring RAM policies based on the principle of least privilege (PoLP). Use the Alibaba Cloud account only in specific scenarios where Alibaba Cloud account permissions are explicitly required.

实例

API

Title

Description

索引管理 索引管理
CloseManagedIndex Disable index hosting Disables the cloud managed feature for a specified index in an Indexing Service cluster. This operation is irreversible. After the feature is disabled, it cannot be enabled again.
CreateDataStream Create a data stream Creates a data stream to manage a set of indexes.
CreateILMPolicy Create an index lifecycle policy Creates an index lifecycle policy. If a policy with the specified name already exists, the existing policy is replaced and its version is incremented.
CreateIndexTemplate Create an index template Creates a cluster index template that can be used for component-based index template settings.
DeleteDataStream Delete a data stream Deletes a specified cluster data stream.
DeleteILMPolicy Delete an index lifecycle policy Deletes a specified index lifecycle policy.
DeleteIndexTemplate Delete an index template Deletes a specified index template.
DescribeILMPolicy Query index lifecycle details Queries the details of a specified index lifecycle policy.
DescribeIndexTemplate View index template information Returns information about an index template.
ListDataStreams List data streams of an elasticsearch cluster Retrieves the list of index data streams in an Elasticsearch cluster.
ListILMPolicies Query index lifecycle policies Queries the list of index lifecycle policies that have been created for a cluster.
ListIndexTemplates Query index templates Queries a list of index templates.
RolloverDataStream Roll over data Creates a new index for a data stream or index alias.
UpdateILMPolicy Modify index lifecycle policy Modifies the lifecycle policy of an Elasticsearch index.
UpdateIndexTemplate Modify instance template configuration Modifies the template configuration of an Elasticsearch instance.
CreateComponentIndex Create a component Creates an Elasticsearch composable template.
DeleteComponentIndex Delete a component index template Deletes a component index template of Elasticsearch.
DeleteDeprecatedTemplate Delete a historical index template Deletes a historical index template.
DescribeComponentIndex View composable index template details Queries the details of a composable index template in Elasticsearch.
DescribeDeprecatedTemplate View historical index template details Queries the details of a historical index template.
ListComponentIndices List composable index templates Retrieves the list of composable templates for an Elasticsearch instance.
ListDeprecatedTemplates List historical index templates Queries the list of historical index templates.
UpdateComponentIndex Update a composable index template Updates a composable index template for an Elasticsearch instance.
DeleteInstance Release a specified pay-as-you-go instance All physical resources used by the instance are reclaimed, all related data is permanently lost and cannot be recovered, and the cloud disks mounted to the instance nodes along with their corresponding snapshots are released.
UpdateInstanceChargeType Change billing method Transforms the billing method of an Elasticsearch instance from pay-as-you-go to a subscription instance.
UpdateDescription Change instance name Changes the name of an Elasticsearch instance.
UpdateReadWritePolicy Enable or disable write high availability for a cluster Enables or disables the write high availability feature for a cluster. Currently, only instances in the China (Beijing) region are supported.
ModifyElastictask Update cluster elastic scaling rules Updates the elastic scaling rules of a cluster.
ModifyInstanceMaintainTime Modify and enable the maintenance window for an instance Modifies and enables the maintenance window for an instance.
UpdateKibanaWhiteIps Update kibana access whitelist of an instance Updates the Kibana access whitelist of a specified Alibaba Cloud Elasticsearch instance.
UpdateWhiteIps Modify the VPC internal-facing access whitelist of an instance Modifies the VPC internal-facing access whitelist of an Elasticsearch instance.
ListInstance Elasticsearch Instance List Queries the information about Elasticsearch instances.
DescribeInstance View instance details Queries the details of a specified instance.
DescribeRegions Get region information Retrieves the region information of Alibaba Cloud Elasticsearch.
ListAllNode Elasticsearch instance node information Retrieves information about all nodes in an Elasticsearch cluster.
GetElastictask Retrieve cluster elastic scaling rules Retrieves the elastic scaling rules of a cluster. Elastic nodes must be purchased when the instance is created.
ListInstanceIndices List indexes of a cluster Filters system indexes from the index list of a cluster.
createInstance Create an Elasticsearch instance Creates an Elasticsearch instance.
EstimatedRestartTime Estimated instance restart time Retrieves the estimated restart time for an instance.
RestartInstance Restart elasticsearch Restarts an Elasticsearch cluster.
RenewInstance Renew an elasticsearch instance Renews a subscription Elasticsearch instance.
ActivateZones Resume an offline zone Resumes an offline zone. This operation is valid only for multi-zone instances.
DeactivateZones Take part of the zones offline Takes part of the zones offline when multiple zones are available, and migrates the nodes in the offline zones to other zones.
InterruptElasticsearchTask Interrupt an instance change Interrupts an instance change task. This operation is valid only for instances in the Effecting state. After the interruption, the instance enters the suspended state.
ResumeElasticsearchTask ResumeElasticsearchTask Resumes an interrupted change task for an instance.
MigrateToOtherZone Migrate zone Migrates nodes in a specified zone to a destination zone.
CancelDeletion Recover a frozen instance after release Recovers a frozen Elasticsearch instance that was released.
DiagnoseInstance Diagnose an instance Calls DiagnoseInstance to immediately diagnose an instance.
MoveResourceGroup Modify instance resource group Modifies the resource group to which an instance belongs.
CapacityPlan Capacity planning Recommends optimal cluster capacity planning configurations based on business scenarios, QPS, and log generation volume.
GetOpenStoreUsage Query openStore instance usage Queries the storage capacity and usage of an OpenStore instance.
ListDicts View dictionary list details Queries the details of the dictionary list for a specified type.
ListShardRecoveries Shard recovery data list Queries the data progress list of ongoing and completed shard recoveries. By default, only ongoing shard recovery information is returned.

标签

API

Title

Description

ListTags List labels Queries all labels created by the user in the current region.
ListTagResources Query instance visible resource tag relationships Retrieves the relationships between all instances and tags.
UntagResources Delete user resource tag associations Deletes user resource tag associations for a specified instance.
TagResources Create tag-resource relationships Creates tag-resource relationships for a specified instance.

数据迁移

API

Title

Description

DeleteDataTask Delete an index migration task Deletes an Elasticsearch index migration task.
GetTransferableNodes GetTransferableNodes Retrieves the nodes available for data migration based on the specified node type and count.
ListDataTasks List elasticsearch data migration tasks Retrieves a list of data migration tasks between different Elasticsearch clusters.
GetClusterDataInformation GetClusterDataInformation Retrieves index migration data information.
ValidateTransferableNodes Validate whether data on nodes in an instance can be migrated Validates whether data on specific nodes in a specified instance can be migrated.
TransferNode Migrate node data Performs data migration on a node to facilitate node scale-in operations.
CancelTask Cancel a data migration task Cancels a running data migration task.

采集器

API

Title

Description

CreateCollector Create a collector Creates a collector to collect data from a specified service.
DeleteCollector Delete a collector Deletes a specified collector.
ModifyDeployMachine Update machines on which a collector is installed Updates the ECS instances on which a collector is installed.
UpdateCollector Modify a collector Modifies the configuration of a collector.
UpdateCollectorName Modify collector name Calls UpdateCollectorName to modify the name of a collector.
StartCollector Start a collector Starts a collector to collect data.
StopCollector Stop a running collector Calls StopCollector to stop a running collector.
DescribeCollector Retrieve collector instance information Retrieves the details of a collector instance.
ListDefaultCollectorConfigurations List default collector configurations Invokes the ListDefaultCollectorConfigurations operation to retrieve the default configuration file of a collector.
ListCollectors List collector information Retrieves a list of collectors.
ListNodes Query Machine Status Under a Collector Historical report list of intelligent O&M.
RestartCollector Restart a collector Restarts a collector to perform data collection.
ReinstallCollector Retry collector installation Retries the installation of a collector that failed to install during creation.

实例升降配

API

Title

Description

UpdateInstance Upgrade cluster configuration Upgrades the configuration of an Elasticsearch cluster, including the number of nodes, roles, specifications, and disk configurations.
GetSuggestShrinkableNodes Get removable nodes Retrieves the nodes that can be removed based on the specified node type and quantity.
ValidateShrinkNodes ValidateShrinkNodes Checks whether specific nodes in a specified instance can be scaled in.
ShrinkNode Scale in cluster nodes Scales in nodes of a specified role in an Elasticsearch cluster.
UpgradeEngineVersion Upgrade instance version or kernel patch version Upgrades the version of an Elasticsearch instance. Both major version upgrades and kernel version upgrades are supported.

集群配置

API

Title

Description

UpdateInstanceSettings Modify YML parameter settings of an instance Modifies the YML parameter settings of a specified Elasticsearch instance.
UpdateHotIkDicts Update instance IK hot-word dictionary Updates the IK hot-word dictionary of an Alibaba Cloud Elasticsearch instance.
UpdateSynonymsDicts Update instance synonym dictionary Updates the synonym dictionary of an Alibaba Cloud Elasticsearch instance.
UpdateDict Update Instance User Dictionary Updates the user dictionary of an Elasticsearch instance.
UpdateAdvancedSetting Change the garbage collector configuration of a specified instance Changes the garbage collector configuration of a specified Elasticsearch instance.
UpdateExtendConfig Modify scenario-based configuration template Modifies the scenario-based configuration template of an Elasticsearch instance.
UpdateTemplate Modify instance scenario-specific template configuration Modifies the scenario-specific template configuration of a cluster.
UpdateAliwsDict Update aliNLP tokenizer plugin Updates the dictionary of the AliNLP tokenizer plugin (analysis-aliws).
DescribeTemplates Retrieve scenario-specific template configuration of an instance Retrieves the scenario-specific template configuration and cluster settings of an instance.
ListAckClusters Retrieve ACK cluster list Retrieves the list of Container Service for Kubernetes (ACK) clusters.
ListDictInformation Query dictionary information Queries the information of a specified dictionary.
ListEcsInstances Retrieve ECS instance list Retrieves the list of ECS instances under the current user's VPC and vSwitch.
DescribeAckOperator Get ACK operator details Calls the DescribeAckOperator operation to query the Elasticsearch Operator information installed on a specified Container Service for Kubernetes (ACK) cluster.
GetRegionConfiguration Get region information Retrieves the current region information.
ListAckNamespaces List ACK namespaces Queries all namespaces in a specified Container Service for Kubernetes (ACK) cluster.
InstallAckOperator Install ACK operator Installs the ACK Operator on a specified Container Service cluster.
InstallUserPlugins InstallUserPlugins Installs custom plugins that have been uploaded to the Elasticsearch console.
RecommendTemplates Retrieve recommended template list Calls RecommendTemplates to retrieve recommended cluster configurations.
ValidateSlrPermission ValidateSlrPermission Verifies the service-linked role (SLR) permission of the current account.
InitializeOperationRole Create a service-linked role Calls the InitializeOperationRole operation to create a service-linked role.

插件管理

API

Title

Description

ListPlugins Retrieve instance plugin list Retrieves the plugin list of a specified Alibaba Cloud Elasticsearch instance.
InstallSystemPlugin Install elasticsearch system plug-ins Installs system plug-ins on an Elasticsearch instance.
UninstallPlugin UninstallPlugin Uninstalls system plug-ins from an Elasticsearch instance.

集群监控

API

Title

Description

GetEmonMonitorData Query grafana metric monitoring data of an instance Queries the Grafana metric monitoring data of an Elasticsearch instance.
DescribeElasticsearchHealth View cluster health status Queries the health status of a cluster to check whether it is running properly.
GetEmonGrafanaAlerts Retrieve grafana alert list Calls GetEmonGrafanaAlerts to retrieve the Grafana alert list.
GetEmonGrafanaDashboards Retrieve grafana dashboard list Calls GetEmonGrafanaDashboards to retrieve the list of Grafana dashboards.
PostEmonTryAlarmRule Send an alert message Sends a test alert message by calling PostEmonTryAlarmRule.

日志查询

API

Title

Description

ListSearchLog Query instance logs Queries logs of different types for an Elasticsearch instance.

安全配置

API

Title

Description

AddConnectableCluster Configure instance network connectivity Configures network connectivity to establish a connection between different instances.
DeleteConnectedCluster Remove a connected instance Deletes the network connectivity between two instances.
UpdatePrivateNetworkWhiteIps Update the VPC private network access whitelist of an instance Updates the VPC private network access whitelist of a specified instance.
UpdatePublicWhiteIps Update instance public endpoint access whitelist Updates the public endpoint access whitelist of a specified Elasticsearch instance.
UpdatePublicNetwork Enable or disable public network address for an instance Enables or disables the public network address for a specified Elasticsearch instance.
UpdateAdminPassword Update the elastic account password of an instance Updates the password of the elastic account for a specified Elasticsearch instance.
ModifyWhiteIps Update the access whitelist of a specified instance Calls ModifyWhiteIps to update the access whitelist of a specified instance.
DescribeConnectableClusters Retrieve private network peering instance list Retrieves a list of instances that can establish private network peering with the current instance. Instances that are already connected are not included.
ListConnectedClusters Retrieve instances with private network peering to the current instance Retrieves a list of instances that have established private network peering with the current instance.
TriggerNetwork Enable or shutdown public or private network access Enables or shuts down public or private network access for an Elasticsearch or Kibana cluster.
OpenHttps Enable HTTPS Enables the HTTPS protocol. Before enabling HTTPS, make sure that you have purchased client nodes.
CloseHttps Disable HTTPS protocol Disables the HTTPS protocol for a cluster.
CreateVpcEndpoint Create a privateLink VPC endpoint Creates a PrivateLink VPC endpoint to connect to an endpoint service created in a user VPC.
DeleteVpcEndpoint Delete a VPC endpoint under a service account Calls DeleteVpcEndpoint to delete a VPC endpoint under a service account.
ListVpcEndpoints View endpoint status Queries the status of endpoints in the VPC of a service account.

数据备份

API

Title

Description

CreateSnapshot Create a cluster index snapshot backup Calls CreateSnapshot to manually create a snapshot backup of a cluster.
AddSnapshotRepo Create a reference repository Creates a reference repository when setting up a cross-cluster OSS repository.
DeleteSnapshotRepo DeleteSnapshotRepo Deletes a cross-cluster OSS reference repository from an instance.
UpdateSnapshotSetting UpdateSnapshotSetting Updates the data backup configuration of a specified instance.
DescribeSnapshotSetting Retrieve snapshot backup settings of a cluster Retrieves the snapshot backup settings and backup cycle of a cluster.
ListSnapshotReposByInstanceId List cross-cluster OSS repositories of an elasticsearch instance Retrieves the list of cross-cluster OSS repository settings for the current instance.
ListAlternativeSnapshotRepos OSS reference repositories available for an instance Retrieves the OSS reference repositories that can be added to the current instance.

智能运维

API

Title

Description

ListDiagnosisItems List intelligent diagnostic items Lists the intelligent diagnostic items for an Elasticsearch instance.
UpdateDiagnosisSettings Modify intelligent O&M scenario settings Modifies the intelligent O&M scenario settings of a specified Elasticsearch instance.
ListDiagnoseReport List intelligent O&M historical reports Retrieves historical reports of intelligent O&M diagnostics.
ListDiagnoseReportIds List intelligent O&M center historical report iDs Retrieves all IDs of Intelligent O&M Center historical reports.
DescribeDiagnoseReport View Intelligent O&M Historical Report Calls the DescribeDiagnoseReport operation to view historical reports of intelligent O&M.
DescribeDiagnosisSettings Retrieve intelligent O&M scenario settings Calls DescribeDiagnosisSettings to retrieve the scenario settings of intelligent O&M.
ListDiagnoseIndices Retrieve diagnostic indexes from the intelligent O&M module Retrieves the diagnostic indexes from the intelligent O&M module for a specified instance.
OpenDiagnosis Enable intelligent O&M Enables the intelligent O&M feature for an instance.
CloseDiagnosis Disable the intelligent O&M feature for an instance Disables the intelligent O&M feature for an instance.

Kibana

API

Title

Description

UpdateKibanaSettings Modify kibana configuration Modifies the Kibana configuration. Currently, only the Kibana language configuration can be modified.
DescribeKibanaSettings Get kibana configuration Retrieves the Kibana node configuration of an Elasticsearch instance.
ListKibanaPlugins List kibana node plugins Retrieves the list of plugins installed on the Kibana node of an Elasticsearch instance.
InstallKibanaSystemPlugin Install kibana preset plug-ins Installs preset plug-ins for Kibana. The Kibana instance must have specifications of 2 vCPUs and 4 GB of memory or higher.
UninstallKibanaPlugin Uninstall kibana plug-ins Uninstalls plug-ins from the Kibana node of an Elasticsearch instance.

Logstash

API

Title

Description

实例管理 实例管理
DeleteLogstash Release a logstash instance Proactively releases a Logstash instance.
UpdateLogstash Modify partial instance information Modifies some information about a specified instance, such as the number of nodes, quota, name, and disk size.
UpdateLogstashDescription Modify logstash instance name Modifies the name of a specified Logstash instance.
UpdateLogstashChargeType UpdateLogstashChargeType Converts a pay-as-you-go Alibaba Cloud Logstash instance to a subscription instance.
ListLogstash List logstash instances Displays the details of all or specified Logstash instances in a list.
DescribeLogstash Query logstash instance information Queries the details of a Logstash instance.
RenewLogstash Renew a logstash instance Renews a specified Logstash instance.
RestartLogstash Restart an instance Restarts a specified instance. After the restart, the instance enters the activating (activing) state.
EstimatedLogstashRestartTime Retrieve estimated restart time of a logstash instance Retrieves the estimated restart time of a Logstash instance.
集群配置 集群配置
UpdateLogstashSettings Update logstash instance configuration Updates the configuration of a specified Logstash instance.
ListExtendfiles Logstash extension file configuration Retrieves the extension file configuration of a Logstash instance.
插件管理 插件管理
ListLogstashPlugins Get logstash plugin list Calls ListLogstashPlugins to retrieve detailed information about all or specified plugins.
InstallLogstashSystemPlugin Install logstash system plugins Installs system plugins for a specified Logstash instance.
UninstallLogstashPlugin Uninstall installed plug-ins Uninstalls installed plug-ins from a Logstash instance.
日志查询 日志查询
ListLogstashLog Query logstash instance logs Queries the logs of a Logstash instance.
集群监控 集群监控
UpdateXpackMonitorConfig Update x-Pack monitoring and alerting configuration Updates the X-Pack monitoring and alerting configuration of a Logstash instance.
ListAvailableEsInstanceIds Retrieve available instances Retrieves a list of available Elasticsearch instances when configuring X-Pack monitoring for a Logstash instance.
DescribeXpackMonitorConfig Get x-Pack monitoring configuration of an instance Retrieves the X-Pack monitoring configuration of a Logstash instance.
ValidateConnection Validate monitoring connectivity Validates the connectivity of an Elasticsearch instance that provides X-Pack monitoring.
变更任务管理 变更任务管理
InterruptLogstashTask Suspend an instance change task After the interruption, the instance enters the suspended state.
ResumeLogstashTask Resume an interrupted instance change task Resumes an interrupted instance change task. After the task is resumed, the instance enters the activating state.
管道管理 管道管理
CreatePipelines Create a logstash pipeline Creates a Logstash pipeline to collect data.
DeletePipelines DeletePipelines Deletes pipelines configured for a Logstash instance.
UpdatePipelines Update logstash pipeline information Calls UpdatePipelines to update Logstash pipeline information.
StopPipelines Stop logstash pipelines Stops Logstash pipelines by calling StopPipelines.
UpdatePipelineManagementConfig Modify pipeline management method Modifies the pipeline management method for a specified Logstash instance.
ListPipeline Logstash pipeline list Retrieves the pipeline list of a Logstash instance.
DescribePipeline Retrieve logstash pipeline information Retrieves the pipeline information of a Logstash instance.
DescribePipelineManagementConfig Retrieve logstash pipeline management configuration Calls DescribePipelineManagementConfig to retrieve the pipeline management configuration of a Logstash instance.
RunPipelines Deploy and run logstash pipelines Deploys Logstash pipelines immediately.
CreateLogstash Create a logstash instance Creates a Logstash instance by calling CreateLogstash.
UpdateExtendfiles Update extension file configuration Updates the extension file configuration of a Logstash instance.
ListPipelineIds List logstash pipeline iDs Retrieves the list of pipeline IDs for a Logstash instance.
CancelLogstashDeletion Resume a frozen instance after release Resumes a frozen Logstash instance that was frozen after release.

其他

API

Title

Description

TurnOnZone Reopen an offline zone Reopens an offline zone for a multi-zone instance. This operation is intended only for disaster recovery drills. Proceed with caution.
ListInstanceHistoryEvents ListInstanceHistoryEvents Queries the list of hardware O&M events triggered by an Elasticsearch cluster.
DisableKibanaPvlNetwork Disable kibana private network access Disables Kibana private network access.
UpdateKibanaPvlNetwork Update Kibana private network Update Kibana private network access
ListKibanaPvlNetwork View kibana private network connection information Queries the details of the Kibana private network connection.
EnableKibanaPvlNetwork EnableKibanaPvlNetwork Invokes the EnableKibanaPvlNetwork operation to enable private network access for Kibana.
TurnOffZone Disable a zone for a multi-zone instance Disables an existing zone for a multi-zone instance. This operation is intended only for disaster recovery drills. Proceed with caution.
GetKeystores Query cluster keystore information Retrieve keystore information
GrayPublish Continue Phased Release for Restart Continue restarting the remaining edge zones of the Elasticsearch instance after the phased release is completed.
InitModel Register AI Search Open Platform model Initialize AI model
ListEventRecords Retrieve Event List Obtain Event List
ListStatsEventRecords Statistics of management event records Statistics of management event records
ListUserPlugin Custom Plugin List Custom plugin list
ModifyScheduleExecuteTime Modify the scheduled execution time of an event For O&M events in the Event Center, you can specify a restart event, and the system will restart the specified edge zone of the relevant instance at the scheduled time.
PluginAnalysis Upload a Custom plugin to the plugin library Upload a custom plugin to the plugin repository. After uploading, the plugin is in the pending installation status.
RemovePlugin Remove an uninstalled custom plugin You can delete uploaded but uninstalled plugins from the plugin library.
UpdateFalconSeek Toggle the FalconSeek cloud-native kernel attribute Toggle the FalconSeek cloud-native kernel attribute for instances of Version 8.17.
UpdateKeystores Update keystore settings Update keystore
UpdateKibanaSso Modify the Alibaba Cloud account authentication configuration for Kibana Enable or disable Alibaba Cloud account authentication for Kibana. After Alibaba Cloud account authentication is enabled, you must log on with your Alibaba Cloud account before you can use Kibana features.
UpgradeInfo Query version information available for upgrade Query whether a minor version is available for upgrade.