[Dev console] Fix some issues with AutoComplete (#182002)

Resolves https://github.com/elastic/kibana/issues/181618 by adding
delete by query AutoComplete for the query.

Here's what it looks like now: 


ff2c0c18-4f1e-41f3-b18d-b9a4a5377dd1

Also fixes a syntax issue with rule query AutoComplete where we added an
extra `query` that would result in a syntax error.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Kathleen DeRusso 2024-04-30 09:17:01 -04:00 committed by GitHub
parent 74fdd1b5f2
commit 5814f2e0ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 3 deletions

View file

@ -519,9 +519,7 @@ export const query = (specService: SpecDefinitionsService) => {
},
rule_query: {
__template: {
organic: {
query: {},
},
organic: {},
ruleset_id: '',
match_criteria: {
FIELD: 'VALUE',

View file

@ -0,0 +1,9 @@
{
"delete_by_query": {
"data_autocomplete_rules": {
"query": {
"__scope_link": "GLOBAL.query"
}
}
}
}