Open ES-Learner opened 1 year ago
Pinging @elastic/es-core-infra (Team:Core/Infra)
Since it is a nested field and kibana doesn't support it yet (?), I thought of creating runtime fields for each of these fields.
For the Kibana feature for nested fields, you can also read this issue.
For the scripting question, I tagged the relevant 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:
1.
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.
4.
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.