-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
(cherry picked from commit 683239b) Co-authored-by: Lisa Cawley <[email protected]>
- Loading branch information
1 parent
deacd3e
commit 622b81b
Showing
4 changed files
with
22 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# summary: | ||
# method_request: POST /my-time-series-index/_downsample/my-downsampled-time-series-index | ||
# description: '' | ||
# type: request | ||
value: | ||
fixed_interval: 1d |
5 changes: 3 additions & 2 deletions
5
...ification/indices/explain_data_lifecycle/IndicesExplainDataLifecycleResponseExample1.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
...ification/indices/explain_data_lifecycle/IndicesExplainDataLifecycleResponseExample2.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
summary: Successful response with error messages | ||
description: The API reports any errors related to the lifecycle execution for the target index. | ||
# type: response | ||
# response_code: '' | ||
value: | ||
"{\n \"indices\": {\n \".ds-metrics-2023.03.22-000001\": {\n \"index\"\ | ||
\ : \".ds-metrics-2023.03.22-000001\",\n \"managed_by_lifecycle\" : true,\n\ | ||
\ \"index_creation_date_millis\" : 1679475563571,\n \"time_since_index_creation\"\ | ||
\ : \"843ms\",\n \"lifecycle\" : {\n \"enabled\": true\n },\n \ | ||
\ \"error\": \"{\\\"type\\\":\\\"validation_exception\\\",\\\"reason\\\":\\\"\ | ||
Validation Failed: 1: this action would add [2] shards, but this cluster\ncurrently\ | ||
\ has [4]/[3] maximum normal shards open;\\\"}\"\n }\n}" |
2 changes: 1 addition & 1 deletion
2
specification/indices/get_data_lifecycle/IndicesGetDataLifecycleResponseExample1.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters