[dataViews] Deprecation of scripted field creation #182067
Labels
Breaking Change
Feature:Data Views
Data Views code and UI - index patterns before 8.0
Feature:Kibana Management
Feature label for Data Views, Advanced Setting, Saved Object management pages
Feature:Scripted Fields
Scripted fields features
impact:high
Addressing this issue will have a high level of impact on the quality/strength of our product.
loe:medium
Medium Level of Effort
Team:DataDiscovery
Discover App Team (Document Explorer, Saved Search, Surrounding documents, Data, DataViews)
v9.0.0
Scripted fields have been deprecated since the introduction of runtime fields in 7.13. ES has plans to continue supporting scripted fields so this is entirely about Kibana UX and code maintenance.
Deprecation messaging has been present in Data View Management since 7.13. Scripted fields are not available in serverless.
Runtime fields are a replacement for scripted fields.
return value
statements are to be replaced withemit(value)
. The ES painless team has declined creating a conversion tool.We'll disable the create scripted field button but the URL to create a scripted field will continue to work, it will need to be manually entered into the browser. The scripted fields CRUD api will be unchanged and the data views api will continue to accept scripted field definitions. Overall, this should be enough to change customer behavior while providing fallback mechanisms if there's something we failed to account for.
The text was updated successfully, but these errors were encountered: