-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Console Autocomplete Overrides for 7.11 (#88937)
* First half of overrides completed and thoroughly tested. * Added ml upgrade job snapshot overrides. * Added overrides for searchable snapshots and also fixed the EQL wait for completion parameter to default to false per the docs. * Added grant api key API overrides and tested them. Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
- Loading branch information
1 parent
2d86004
commit b0efd68
Showing
6 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
x-pack/plugins/console_extensions/server/lib/spec_definitions/json/overrides/eql.search.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,16 @@ | ||
{ | ||
"eql.search": { | ||
"data_autocomplete_rules": { | ||
"event_category_field": "", | ||
"fetch_size": 1000, | ||
"filter": "", | ||
"keep_alive": "", | ||
"keep_on_completion": true, | ||
"query": "", | ||
"size": 10, | ||
"tiebreaker_field": "", | ||
"timestamp_field": "", | ||
"wait_for_completion_timeout": "" | ||
} | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
...nsole_extensions/server/lib/spec_definitions/json/overrides/ml.estimate_model_memory.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,9 @@ | ||
{ | ||
"ml.estimate_model_memory": { | ||
"data_autocomplete_rules": { | ||
"analysis_config": {}, | ||
"max_bucket_cardinality": {}, | ||
"overall_cardinality": {} | ||
} | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
...extensions/server/lib/spec_definitions/json/overrides/ml.update_data_frame_analytics.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,10 @@ | ||
{ | ||
"ml.update_data_frame_analytics": { | ||
"data_autocomplete_rules": { | ||
"allow_lazy_start": false, | ||
"description": "", | ||
"max_num_threads": 1, | ||
"model_memory_limit": "1gb" | ||
} | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
...onsole_extensions/server/lib/spec_definitions/json/overrides/ml.upgrade_job_snapshot.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,10 @@ | ||
{ | ||
"ml.upgrade_job_snapshot": { | ||
"url_params": { | ||
"job_id": "", | ||
"snapshot_id": "", | ||
"timeout": "", | ||
"wait_for_completion_timeout": "__flag__" | ||
} | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
...ole_extensions/server/lib/spec_definitions/json/overrides/searchable_snapshots.mount.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,8 @@ | ||
{ | ||
"searchable_snapshots.mount": { | ||
"data_autocomplete_rules": { | ||
"wait_for_completion": false, | ||
"master_timeout": "" | ||
} | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
...console_extensions/server/lib/spec_definitions/json/overrides/security.grant_api_key.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,15 @@ | ||
{ | ||
"security.grant_api_key": { | ||
"data_autocomplete_rules": { | ||
"access_token": "", | ||
"api_key": { | ||
"expiration": "", | ||
"name": "", | ||
"role_descriptors": {} | ||
}, | ||
"grant_type": "access_token", | ||
"password": "", | ||
"username": "" | ||
} | ||
} | ||
} |