How to create Custom Discover UI like Kibana

Hi Experts,
Our need is to create a search UI with same faceted search as on Kibana Discover tab.
Search will be on random jsons in any Index.

Can somebody tell me how to get the faceted data (What should be my ES queries?) for getting the data categorization for each json key and the percentage count of values in my search results?

Please help !

If you build a visualisation that contains the same data, you can inspect the query that Kibana sent.

Start on the bottom left of the visualisation;
51
Then clicking that arrow will show something like this;


And then you can see the request that is sent, ie the query, as well as the response.

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