The CLI outputs dense JSON by default, but if you supply -display.indent it not only indents the points, but switches to blown-up pretty JSON. The juttle-viz version of view text should do the same, but does not: the default in the browser is the blown-up JSON.
Let's update juttle-viz to conform:
Default = dense JSON
juttle> emit -limit 3 | put name='foo', value=123 | view text
[
{"time":"2015-12-23T18:45:45.544Z","name":"foo","value":123},
{"time":"2015-12-23T18:45:46.544Z","name":"foo","value":123},
{"time":"2015-12-23T18:45:47.544Z","name":"foo","value":123}
]
The CLI outputs dense JSON by default, but if you supply -display.indent it not only indents the points, but switches to blown-up pretty JSON. The juttle-viz version of
view text
should do the same, but does not: the default in the browser is the blown-up JSON.Let's update juttle-viz to conform:
Default = dense JSON
With -indent option = pretty-print JSON