Unable to do a nested query on saved objects using KQL #51637
Labels
Feature:Saved Objects
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
I'm having a hard time creating a nested query with KQL using the saved objects API. I keep getting a
This key 'actionTypeId' need to be wrapped by a saved object type like alert:
error on the nested query.Steps to reproduce:
xpack.actions.enabled: true
andxpack.alerting.enabled: true
.curl -X GET 'http://elastic:changeme@localhost:5603/api/saved_objects/_find?type=alert&filter=alert.attributes.actions%3A%7B%20actionTypeId%3A%20%22.server-log%22%20%7D'
.Saved object mapping:
GET
/api/saved_objects/_find
query:Error message:
The text was updated successfully, but these errors were encountered: