-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Index pattern field editor] Support "object" runtime fields #98330
Comments
Pinging @elastic/es-ui (Team:Elasticsearch UI) |
Pinging @elastic/kibana-app-services (Team:AppServices) |
@sebelga I fear this might become more complicated then most of the other fields so far. For those "child fields" to properly function across Kibana (i.e. like real object fields), they'll need to have individual field instances in the index pattern (which would also allow individual formatting). We actually currently throw away the root Also since Kibana (e.g. in Discover or Maps or Visualize) will always ooperate on the leaf field, we'll show those in lists and such and so we'll have an edit button for them. I assume we still want to edit the overall script when editing those fields? Though not sure how that integrates with that you might still want to change the field formatter specifically for that child field. Does this answer your question or do you want us to clarify in more detail for any specific area? |
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery) |
Closing this because it's not planned to be resolved in the foreseeable future. It will be tracked in our Icebox and will be re-opened if our priorities change. Feel free to re-open if you think it should be melted sooner. |
We need to add support in the index pattern field editor for the upcoming runtime object field.
For that we will need to rethink the UI of the flyout as we will need to take into consideration if the script returns an object with multiple fields or a single field value.
The script will emit a one level depth object.
The user will then need to
type
Tasks
type
, a runtime painlessscript
and an array of documents. Optionally we could also provide to this handler an index pattern and an array of document IDs).<FieldSelector />
component<FieldSelector />
componenttype
for each of the leaf objects.type
prepopulated in a dropdown select. The user will be able to change the type if he wants to.Other consideration
object
runtime field on the index pattern we should have a flag to indicate if this field has been generated from the data parsing UI or not. This flag will allow us, when clicking "edit field", to redirect to the enhanced data parsing UI instead of the index pattern field editor.The text was updated successfully, but these errors were encountered: