How to query Indexes of ES from kibana plugin

Hi All,

I'm a new one, I'm trying to build a plugin that collect documents from Indexes of ES and then generate a report on kibana. if possible, please share me a sample code. thank you for any response

I'm not quite sure what you mean, but it sounds to me like you don't need a plugin. You should just be able to build one or more visualizations that run the queries you want / visualize things the way you want, and then put them in a dashboard.

If you want to make a custom visualization, that's doable. Have a look at our visualizations:

Hi christophilus,

Thank you for your response, I want to build a report that get data from indices of Elastic, As my understanding, in that case we need to build a plugin using React. I'm not sure Visualization can perform this task or not. please correct me if my understanding is wrong.