Runtime fields on nested fields #92809
Labels
:Core/Infra/Scripting
Scripting abstractions, Painless, and Mustache
>enhancement
Team:Core/Infra
Meta label for core/infra team
Description
I have an index with a nested field 'roles':
The values in these fields are arrays, for eg.:
I have to build Kibana visualizations on these fields separately. Since it is a nested field and kibana doesn't support it yet (?), I thought of creating runtime fields for each of these fields.
This is what I have tried so far:
Result:
emit
value multiple times:Now I am not getting any error, but neither am I getting the value in the field.
I performed the following search query:
I got the following response:
The runtime field was not populated.
params._source
to access the nested field:Here also, the runtime field is not getting populated.
This results in error
cannot cast from [java.lang.String[]] to [void]
, as expected.Please add the feature to enable creating runtime fields based on nested fields.
The text was updated successfully, but these errors were encountered: