Create kibana visualizations using Chart.js or elastic-charts

I want to create the visualization similar to one which are created by kibana (in dashboard).

By using chart.js / elastic-charts on frontend and the data present in my Elasticsearch instance.

how can I do that ?

Yes, You can achieve it because Kibana Visualization generates based on Elastic DSL and aggregation.

You can view the query of specific visulization by following below steps:

  1. Go to Kibana -> Visualize
  2. Open the specific visulization which is created.
  3. Click on Inspect on top right corner.
  4. Select Request tab. Here, you will be able to see query generated by Kibana for creating chart.
  5. You can copy request and execute using Elasticsearch instance and use response for showing Graph.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.