ListDiagnosisItems
Lists the intelligent diagnostic items for an Elasticsearch instance.
Try it now
Test
RAM authorization
Request syntax
GET /openapi/diagnosis/items HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| lang |
string |
No |
The supported request language. Default value: the browser request language. Valid values:
Valid values:
|
en |
| instanceId |
string |
No |
The instance ID. |
es-cn-v0h14zdee000mimee |
|
No |
The diagnostic item level. Valid values:
If this parameter is not specified, diagnostic items of all levels are returned. |
BASIC |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
5FFD9ED4-C2EC-4E89-B22B-1ACB6FE1D**** |
| Result |
array<object> |
The returned results. |
|
|
object |
The returned result object. |
||
| key |
string |
The diagnostic item identifier. |
ClusterBulkRejectDiagnostic |
| name |
string |
The diagnostic item name. |
Index Write BulkReject Diagnostics |
| description |
string |
The diagnostic item description. |
Diagnoses whether data write operations are backlogged in the cluster. When data write operations are backlogged, BulkReject exceptions occur, which may cause data loss and severe system resource consumption |
| esApiRequired |
boolean |
Indicates whether the cluster API is accessed. |
true |
| level |
string |
The diagnostic item level. Valid values:
|
BASIC |
| billable |
boolean |
Indicates whether billable tokens are consumed. The value is true when level is ADVANCED. |
true |
| supportedModes |
array |
The supported execution modes. Basic items support RULE and AGENT. Advanced items support only AGENT. |
|
|
string |
The specific execution mode. |
RULE |
|
| category |
string |
The category code. You can use this value to group diagnostic items by category. |
CLUSTER_HEALTH |
| sortOrder |
integer |
The sort order number for display. |
1 |
Examples
Success response
JSON format
{
"RequestId": "5FFD9ED4-C2EC-4E89-B22B-1ACB6FE1D****",
"Result": [
{
"key": "ClusterBulkRejectDiagnostic",
"name": "Index Write BulkReject Diagnostics",
"description": "Diagnoses whether data write backlogs exist in the cluster. When data write backlogs exist, BulkReject exceptions occur, which may cause data loss and severe system resource consumption",
"esApiRequired": true,
"level": "BASIC",
"billable": true,
"supportedModes": [
"RULE"
],
"category": "CLUSTER_HEALTH",
"sortOrder": 1
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.