Skip to content

Commit aee5f0e

Browse files
[DOCS] Edit cluster operation summaries (#3256) (#3259)
Co-authored-by: Marci W <[email protected]> (cherry picked from commit 0215517) Co-authored-by: Lisa Cawley <[email protected]>
1 parent 273d62c commit aee5f0e

File tree

24 files changed

+286
-131
lines changed

24 files changed

+286
-131
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 80 additions & 50 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 60 additions & 56 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_doc_ids/table.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
add-nodes,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/add-elasticsearch-nodes.html
12
analysis-analyzers,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis-analyzers.html
23
analysis-charfilters,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis-charfilters.html
34
analysis-normalizers,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/analysis-normalizers.html

specification/_global/health_report/Request.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,24 @@ import { integer } from '@_types/Numeric'
2222
import { Duration } from '@_types/Time'
2323

2424
/**
25+
* Get the cluster health.
26+
* Get a report with the health status of an Elasticsearch cluster.
27+
* The report contains a list of indicators that compose Elasticsearch functionality.
28+
*
29+
* Each indicator has a health status of: green, unknown, yellow or red.
30+
* The indicator will provide an explanation and metadata describing the reason for its current health status.
31+
*
32+
* The cluster’s status is controlled by the worst indicator status.
33+
*
34+
* In the event that an indicator’s status is non-green, a list of impacts may be present in the indicator result which detail the functionalities that are negatively affected by the health issue.
35+
* Each impact carries with it a severity level, an area of the system that is affected, and a simple description of the impact on the system.
36+
*
37+
* Some health indicators can determine the root cause of a health problem and prescribe a set of steps that can be performed in order to improve the health of the system.
38+
* The root cause and remediation steps are encapsulated in a diagnosis.
39+
* A diagnosis contains a cause detailing a root cause analysis, an action containing a brief description of the steps to take to fix the problem, the list of affected resources (if applicable), and a detailed step-by-step troubleshooting guide to fix the diagnosed problem.
40+
*
41+
* NOTE: The health indicators perform root cause analysis of non-green health statuses. This can be computationally expensive when called frequently.
42+
* When setting up automated polling of the API for health status, set verbose to false to disable the more expensive analysis logic.
2543
* @rest_spec_name health_report
2644
* @availability stack since=8.7.0 stability=stable
2745
* @availability serverless stability=stable visibility=private

specification/_global/ping/PingRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { RequestBase } from '@_types/Base'
2121

2222
/**
2323
* Ping the cluster.
24-
* Returns whether the cluster is running.
24+
* Get information about whether the cluster is running.
2525
* @rest_spec_name ping
2626
* @availability stack stability=stable
2727
* @availability serverless stability=stable visibility=public

specification/cluster/allocation_explain/ClusterAllocationExplainRequest.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ import { IndexName } from '@_types/common'
2222
import { integer } from '@_types/Numeric'
2323

2424
/**
25+
* Explain the shard allocations.
26+
* Get explanations for shard allocations in the cluster.
27+
* For unassigned shards, it provides an explanation for why the shard is unassigned.
28+
* For assigned shards, it provides an explanation for why the shard is remaining on its current node and has not moved or rebalanced to another node.
29+
* This API can be very useful when attempting to diagnose why a shard is unassigned or why a shard continues to remain on its current node when you might expect otherwise.
2530
* @rest_spec_name cluster.allocation_explain
2631
* @availability stack since=5.0.0 stability=stable
2732
* @availability serverless stability=stable visibility=private

specification/cluster/delete_voting_config_exclusions/ClusterDeleteVotingConfigExclusionsRequest.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,12 @@
2020
import { RequestBase } from '@_types/Base'
2121

2222
/**
23+
* Clear cluster voting config exclusions.
24+
* Remove master-eligible nodes from the voting configuration exclusion list.
2325
* @rest_spec_name cluster.delete_voting_config_exclusions
2426
* @availability stack since=7.0.0 stability=stable
2527
* @doc_id voting-config-exclusions
28+
* @ext_doc_id add-nodes
2629
*/
2730
export interface Request extends RequestBase {
2831
query_parameters: {

specification/cluster/get_settings/ClusterGetSettingsRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { RequestBase } from '@_types/Base'
2121
import { Duration } from '@_types/Time'
2222

2323
/**
24-
* Returns cluster-wide settings.
24+
* Get cluster-wide settings.
2525
* By default, it returns only settings that have been explicitly defined.
2626
* @rest_spec_name cluster.get_settings
2727
* @availability stack stability=stable

specification/cluster/health/ClusterHealthRequest.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,16 @@ import { integer } from '@_types/Numeric'
3030
import { Duration } from '@_types/Time'
3131

3232
/**
33-
* The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices.
34-
* The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status.
33+
* Get the cluster health status.
34+
* You can also use the API to get the health status of only specified data streams and indices.
35+
* For data streams, the API retrieves the health status of the stream’s backing indices.
36+
*
37+
* The cluster health status is: green, yellow or red.
38+
* On the shard level, a red status indicates that the specific shard is not allocated in the cluster. Yellow means that the primary shard is allocated but replicas are not. Green means that all shards are allocated.
39+
* The index level status is controlled by the worst shard status.
40+
*
41+
* One of the main benefits of the API is the ability to wait until the cluster reaches a certain high watermark health level.
42+
* The cluster status is controlled by the worst index status.
3543
* @rest_spec_name cluster.health
3644
* @availability stack since=1.3.0 stability=stable
3745
* @availability serverless stability=stable visibility=private

0 commit comments

Comments
 (0)