-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Add ILM history store index #50287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Add ILM history store index #50287
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
f20d827
Add ILM histore store index
dakrone 1274834
Merge branch 'master' into ilm-history-store
elasticmachine 3b272de
Narrow scope of docs test requests to ignore ILM history index
dakrone 4283323
Disable ILM history index for watcher integration tests
dakrone 48da5a9
Disable ILM history for monitoring integration tests
dakrone 75a1297
Disable ILM history for docs tests
dakrone 1d4c6a4
Push additional logging
dakrone 788234e
Formatting changes
dakrone fccb93c
Merge branch 'master' into ilm-history-store
elasticmachine 3721c19
Disable ILM history for HLRC tests
dakrone 5b8caff
Increase timeout for slow CI machines
dakrone File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -368,7 +368,7 @@ PUT my_index | |
| } | ||
| } | ||
|
|
||
| GET _search <3> | ||
| GET /my_index/_search <3> | ||
| { | ||
| "query": { | ||
| "match": { | ||
|
|
||
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
18 changes: 18 additions & 0 deletions
18
x-pack/plugin/core/src/main/resources/ilm-history-ilm-policy.json
This file contains hidden or 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,18 @@ | ||
| { | ||
| "phases": { | ||
| "hot": { | ||
| "actions": { | ||
| "rollover": { | ||
| "max_size": "50GB", | ||
| "max_age": "30d" | ||
| } | ||
| } | ||
| }, | ||
| "delete": { | ||
| "min_age": "90d", | ||
| "actions": { | ||
| "delete": {} | ||
| } | ||
| } | ||
| } | ||
| } |
This file contains hidden or 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,83 @@ | ||
| { | ||
| "index_patterns": [ | ||
| "ilm-history-${xpack.ilm_history.template.version}*" | ||
| ], | ||
| "order": 2147483647, | ||
| "settings": { | ||
| "index.number_of_shards": 1, | ||
| "index.number_of_replicas": 0, | ||
| "index.auto_expand_replicas": "0-1", | ||
| "index.lifecycle.name": "ilm-history-ilm-policy", | ||
| "index.lifecycle.rollover_alias": "ilm-history-${xpack.ilm_history.template.version}", | ||
| "index.format": 1 | ||
| }, | ||
| "mappings": { | ||
| "_doc": { | ||
| "dynamic": false, | ||
| "properties": { | ||
| "@timestamp": { | ||
| "type": "date", | ||
| "format": "epoch_millis" | ||
| }, | ||
| "policy": { | ||
| "type": "keyword" | ||
| }, | ||
| "index": { | ||
| "type": "keyword" | ||
| }, | ||
| "index_age":{ | ||
| "type": "long" | ||
| }, | ||
| "success": { | ||
| "type": "boolean" | ||
| }, | ||
| "state": { | ||
| "type": "object", | ||
| "dynamic": true, | ||
| "properties": { | ||
| "phase": { | ||
| "type": "keyword" | ||
| }, | ||
| "action": { | ||
| "type": "keyword" | ||
| }, | ||
| "step": { | ||
| "type": "keyword" | ||
| }, | ||
| "failed_step": { | ||
| "type": "keyword" | ||
| }, | ||
| "is_auto-retryable_error": { | ||
| "type": "keyword" | ||
| }, | ||
| "creation_date": { | ||
| "type": "date", | ||
| "format": "epoch_millis" | ||
| }, | ||
| "phase_time": { | ||
| "type": "date", | ||
| "format": "epoch_millis" | ||
| }, | ||
| "action_time": { | ||
| "type": "date", | ||
| "format": "epoch_millis" | ||
| }, | ||
| "step_time": { | ||
| "type": "date", | ||
| "format": "epoch_millis" | ||
| }, | ||
| "phase_definition": { | ||
| "type": "text" | ||
| }, | ||
| "step_info": { | ||
| "type": "text" | ||
| } | ||
| } | ||
| }, | ||
| "error_details": { | ||
| "type": "text" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.