Skip to content
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

[dataViews] Deprecation of scripted field creation #182067

Open
mattkime opened this issue Apr 30, 2024 · 0 comments
Open

[dataViews] Deprecation of scripted field creation #182067

mattkime opened this issue Apr 30, 2024 · 0 comments
Labels
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 loe:medium Medium Level of Effort Team:DataDiscovery Discover App Team (Document Explorer, Saved Search, Surrounding documents, Graph)

Comments

@mattkime
Copy link
Contributor

mattkime commented Apr 30, 2024

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 with emit(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.

@mattkime mattkime self-assigned this Apr 30, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Apr 30, 2024
@mattkime mattkime added 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 Team:DataDiscovery Discover App Team (Document Explorer, Saved Search, Surrounding documents, Graph) and removed needs-team Issues missing a team label labels Apr 30, 2024
@mattkime mattkime added Feature:Scripted Fields Scripted fields features loe:medium Medium Level of Effort labels Apr 30, 2024
@mattkime mattkime changed the title [DataViews] No longer allow creation of scripted fields [dataViews] Deprecation and removal of scripted fields Aug 14, 2024
@mattkime mattkime changed the title [dataViews] Deprecation and removal of scripted fields [dataViews] Deprecation of scripted field creation Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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 loe:medium Medium Level of Effort Team:DataDiscovery Discover App Team (Document Explorer, Saved Search, Surrounding documents, Graph)
Projects
None yet
Development

No branches or pull requests

1 participant