Query ES from a visualization plugin (without aggregation)


#1

Hi all,
I'm trying to develop a new visualization as a plugin. When I make a request to ES (from the search bar at the top) and watch the 'esResponse' the hits array inside the response is empty, but is is incorrect.
How is it possibile to have significat data in the ES response?
Thank you


(Thomas Neirynck) #2

hi @valereds ,

I believe you may have talked to a colleague about this in IRC (?). Just to be sure, a short follow up here:

In Kibana, all Visualizations run aggregation searches agains ES. This could explain why you see empty results, because the aggregations end up empty (e.g. the selected time-period does not contain any data, ...)


(system) #3

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