You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When displaying the script source using GET /_scripts/<name_of_a_script>, the source of a script is not formatted - it is displayed in one line as escaped string.
When doing the same in Kibana Dev Console, the response is already formatted, which is very convenient, but outside the IDE.
Describe the solution you'd like
I would like to have a toggle button (or some checkbox in settings) that would allow me to turn on the formatting of a source in a script in similar way as in Kibana Dev Tools.
Additional context
I have a growing list of scripts in elasticsearch instance which needs to be tuned every now and then and also scripted fields that would be much more readable if there would be formatting applied.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem?
When displaying the script source using

GET /_scripts/<name_of_a_script>
, the source of a script is not formatted - it is displayed in one line as escaped string.When doing the same in Kibana Dev Console, the response is already formatted, which is very convenient, but outside the IDE.

Describe the solution you'd like
I would like to have a toggle button (or some checkbox in settings) that would allow me to turn on the formatting of a source in a script in similar way as in Kibana Dev Tools.
Additional context
I have a growing list of scripts in elasticsearch instance which needs to be tuned every now and then and also scripted fields that would be much more readable if there would be formatting applied.
The text was updated successfully, but these errors were encountered: