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

Improved scripted field development experience #14546

Closed
rcrezende opened this issue Oct 24, 2017 · 2 comments
Closed

Improved scripted field development experience #14546

rcrezende opened this issue Oct 24, 2017 · 2 comments
Labels
Feature:Kibana Management Feature label for Data Views, Advanced Setting, Saved Object management pages Feature:Scripted Fields Scripted fields features impact:needs-assessment Product and/or Engineering needs to evaluate the impact of the change. loe:small Small Level of Effort

Comments

@rcrezende
Copy link

rcrezende commented Oct 24, 2017

Currently, it is risky to create new scripted fields: a mistake on the code can cause discovery/visualization and dashboards to break, even when the new field is not used.
Also there is not much opportunities to test the code in Kibana before "deploying"/"saving" it.

I think Kibana needs a set of features to reduce the risk of breaking, but also empower users while coding/testing new scripted fields.

I can think of:

  • run the code against some rows and see the output at script writing time: so there would be a test section in the form where you can provide a search to narrow the rows you want to test your script against.

  • script field sandbox/isolation: if a field is broken or failing, fail just what uses the field. For instance, if in discovery the field is selected, everything is shown but that field column with some error icon. Visualizations that use the field for aggregating or filtering show a error in the widget, but a complete failure on the whole dashboard on every dashboard.

  • syntax highlighting and API auto completion.

@Bargs Bargs added :Discovery Feature:Scripted Fields Scripted fields features labels Nov 1, 2017
@timroes timroes added Team:Visualizations Visualization editors, elastic-charts and infrastructure :Management and removed :Discovery Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Sep 16, 2018
@timroes timroes added Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Kibana Management Feature label for Data Views, Advanced Setting, Saved Object management pages and removed :Management DO NOT USE labels Nov 27, 2018
@flash1293 flash1293 added Team:AppServicesSv and removed Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Nov 19, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-services (Team:AppServicesSv)

@exalate-issue-sync exalate-issue-sync bot added impact:needs-assessment Product and/or Engineering needs to evaluate the impact of the change. loe:small Small Level of Effort labels Dec 13, 2021
@mattkime
Copy link
Contributor

Closing this issue as scripted fields are deprecated and similar functionality is available for runtime fields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Kibana Management Feature label for Data Views, Advanced Setting, Saved Object management pages Feature:Scripted Fields Scripted fields features impact:needs-assessment Product and/or Engineering needs to evaluate the impact of the change. loe:small Small Level of Effort
Projects
None yet
Development

No branches or pull requests

6 participants