Hi , currently i have a json query and get the result in the dev tools. And I want to use it as the soure data in the Visualize chart . How can fulfill this goal ? thx.
There's no direct way to use your query to build a visualization. Kibana visualizations have their own data format, which uses some parts of Elasticsearch's query DSL, but it doesn't translate directly. Your best bet is simply to build that using the vis builder in Kibana. It's a pretty simple query.
If you're curious how the structure of visualizations works, you can create one, then navigate to Management > Saved Objects. There, select the Visualizations tab, and open the one you created. You'll see how the DSL is build into the
visState, along with a lot of the presentations information.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.