forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Console] Update autocomplete api definition (elastic#43651)
- Loading branch information
Showing
33 changed files
with
231 additions
and
18 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
14 changes: 14 additions & 0 deletions
14
src/legacy/core_plugins/console/api_server/spec/overrides/indices.clone.json
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,14 @@ | ||
{ | ||
"indices.clone": { | ||
"data_autocomplete_rules": { | ||
"settings": { | ||
"__scope_link": "put_settings" | ||
}, | ||
"aliases": { | ||
"__template": { | ||
"NAME": {} | ||
} | ||
} | ||
} | ||
} | ||
} |
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
3 changes: 3 additions & 0 deletions
3
...acy/plugins/console_extensions/spec/generated/data_frame.delete_data_frame_transform.json
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 |
---|---|---|
@@ -1,5 +1,8 @@ | ||
{ | ||
"data_frame.delete_data_frame_transform": { | ||
"url_params": { | ||
"force": "__flag__" | ||
}, | ||
"methods": [ | ||
"DELETE" | ||
], | ||
|
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
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
3 changes: 3 additions & 0 deletions
3
...legacy/plugins/console_extensions/spec/generated/data_frame.put_data_frame_transform.json
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
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
14 changes: 14 additions & 0 deletions
14
...acy/plugins/console_extensions/spec/generated/data_frame.update_data_frame_transform.json
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,14 @@ | ||
{ | ||
"data_frame.update_data_frame_transform": { | ||
"url_params": { | ||
"defer_validation": "__flag__" | ||
}, | ||
"methods": [ | ||
"POST" | ||
], | ||
"patterns": [ | ||
"_data_frame/transforms/{transform_id}/_update" | ||
], | ||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/update-data-frame-transform.html" | ||
} | ||
} |
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
4 changes: 4 additions & 0 deletions
4
x-pack/legacy/plugins/console_extensions/spec/generated/ilm.explain_lifecycle.json
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
22 changes: 22 additions & 0 deletions
22
x-pack/legacy/plugins/console_extensions/spec/generated/indices.reload_search_analyzers.json
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,22 @@ | ||
{ | ||
"indices.reload_search_analyzers": { | ||
"url_params": { | ||
"ignore_unavailable": "__flag__", | ||
"allow_no_indices": "__flag__", | ||
"expand_wildcards": [ | ||
"open", | ||
"closed", | ||
"none", | ||
"all" | ||
] | ||
}, | ||
"methods": [ | ||
"GET", | ||
"POST" | ||
], | ||
"patterns": [ | ||
"{indices}/_reload_search_analyzers" | ||
], | ||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-reload-analyzers.html" | ||
} | ||
} |
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
11 changes: 11 additions & 0 deletions
11
x-pack/legacy/plugins/console_extensions/spec/generated/ml.estimate_memory_usage.json
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,11 @@ | ||
{ | ||
"ml.estimate_memory_usage": { | ||
"methods": [ | ||
"POST" | ||
], | ||
"patterns": [ | ||
"_ml/data_frame/analytics/_estimate_memory_usage" | ||
], | ||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/estimate-memory-usage-dfanalytics.html" | ||
} | ||
} |
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
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
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
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
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
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
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
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
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
11 changes: 11 additions & 0 deletions
11
x-pack/legacy/plugins/console_extensions/spec/generated/security.get_builtin_privileges.json
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,11 @@ | ||
{ | ||
"security.get_builtin_privileges": { | ||
"methods": [ | ||
"GET" | ||
], | ||
"patterns": [ | ||
"_security/privilege/_builtin" | ||
], | ||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-builtin-privileges.html" | ||
} | ||
} |
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
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
11 changes: 11 additions & 0 deletions
11
x-pack/legacy/plugins/console_extensions/spec/generated/slm.delete_lifecycle.json
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,11 @@ | ||
{ | ||
"slm.delete_lifecycle": { | ||
"methods": [ | ||
"DELETE" | ||
], | ||
"patterns": [ | ||
"_slm/policy/{policy_id}" | ||
], | ||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api.html" | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
x-pack/legacy/plugins/console_extensions/spec/generated/slm.execute_lifecycle.json
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,11 @@ | ||
{ | ||
"slm.execute_lifecycle": { | ||
"methods": [ | ||
"PUT" | ||
], | ||
"patterns": [ | ||
"_slm/policy/{policy_id}/_execute" | ||
], | ||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api.html" | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
x-pack/legacy/plugins/console_extensions/spec/generated/slm.get_lifecycle.json
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 @@ | ||
{ | ||
"slm.get_lifecycle": { | ||
"methods": [ | ||
"GET" | ||
], | ||
"patterns": [ | ||
"_slm/policy/{policy_id}", | ||
"_slm/policy" | ||
], | ||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api.html" | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
x-pack/legacy/plugins/console_extensions/spec/generated/slm.put_lifecycle.json
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,11 @@ | ||
{ | ||
"slm.put_lifecycle": { | ||
"methods": [ | ||
"PUT" | ||
], | ||
"patterns": [ | ||
"_slm/policy/{policy_id}" | ||
], | ||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api.html" | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...acy/plugins/console_extensions/spec/overrides/data_frame.update_data_frame_transform.json
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,24 @@ | ||
{ | ||
"data_frame.update_data_frame_transform": { | ||
"data_autocomplete_rules": { | ||
"description": "", | ||
"dest": { | ||
"index": "SOURCE_INDEX_NAME", | ||
"pipeline": "" | ||
}, | ||
"frequency": "", | ||
"source": { | ||
"index": "SOURCE_INDEX_NAME", | ||
"query": { | ||
"__scope_link": "GLOBAL.query" | ||
} | ||
}, | ||
"sync": { | ||
"time": { | ||
"field": "FIELD_NAME", | ||
"delay": "" | ||
} | ||
} | ||
} | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
x-pack/legacy/plugins/console_extensions/spec/overrides/ml.estimate_memory_usage.json
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,38 @@ | ||
{ | ||
"ml.estimate_memory_usage": { | ||
"data_autocomplete_rules": { | ||
"data_frame_analytics_config": { | ||
"source": { | ||
"index": { "__one_of": ["SOURCE_INDEX_NAME", []] }, | ||
"query": {} | ||
}, | ||
"dest": { | ||
"index": "", | ||
"results_field": "" | ||
}, | ||
"analysis": { | ||
"outlier_detection": { | ||
"n_neighbors": 1, | ||
"method": {"__one_of": ["lof", "ldof", "distance_knn_nn", "distance_knn"]}, | ||
"feature_influence_threshold": 1.0 | ||
} | ||
}, | ||
"analyzed_fields": { | ||
"__one_of": [ | ||
"FIELD_NAME", | ||
[], | ||
{ | ||
"includes": { | ||
"__one_of": ["FIELD_NAME", []] | ||
}, | ||
"excludes": { | ||
"__one_of": ["FIELD_NAME", []] | ||
} | ||
} | ||
] | ||
}, | ||
"model_memory_limit": "" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.