I am making visualizations using d3.js on backbone framework. I am using ES to store and fetch data. Right, now I use custom jsonpaths to get formatted data from ES response to convert it into visualization's format. Something like - "label": "$.aggregations.name.buckets.key", "data": "$.aggregations.name.buckets.name2.value". I want to know how Kibana handles this. Thank you.
I'm not 100% sure what you're looking for, but here is one of the places where the rubber hits the road in Kibana.