I am learning a little bit about Kibana 5.x and as an exercise I am creating some visualizations. To the date I have had some success playing with filters and aggregations, and now I am trying to make an 'inspector' visualization which does something like the spy_mode.
I have created a new 'spy' to intercept the request and response, and it works fine except for the fact that it runs only when the spy panel is shown.
So my question is: how can a visualization plugin obtain the request object? Is there any 'event' I can watch to, or an UI module that I can use to get it?
Thank you very much for your help and the amazing Kibana!
I think searchSource should be available on scope, which holds all that info (request, response, ... ). You can try looking there and see if it helps you.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.