That said, you might be able to use the built-in Kibana controls that you mentioned using Vega stream. Try to use them via a CSS class or an ID (I haven't tried that, but might be an interesting project). If there is no way to do that, this would be a good feature to add (please create a ticket in the Kibana github repo). Thx!
@nyuriks thanks for getting back to me and for all the info.
Are there any example of the vega stream controls?
If vega controls are implemented, is that specific to only one vega graph? Or can that control panel be applied to the whole dashboard? In other words, is vega stream the only way to have one control panel for the entire dashboard?
@nyssa Vega signals are per graph, not per dashboard. In theory, it might be possible to link to them using stream events, but in that case you might as well use the proper Kibana controls instead of the less polished Vega ones.
One of the relatively simple example of event processing is this demo
@nyuriks Thanks again for all your insight, I really appreciate it!
I guess to be more detailed about my issue, here are two of the visualizations on my dashboard and I am trying to use the "filter" portion of the controls panel. So when I select a filter on the controls panel (filter by region), it only filters data on the kibana viz not the vega one. A stream can't help with that problem, can it?
I'm not exactly sure what you mean by filter here. When you select a filter, do you get a new filter in the filter bar at the top? If so, your ES query inside Vega can use it ("%context%": true parameter) - and re-query ES for the new, filtered data. If you only want to do "local filtering" - in other words you get all the data to the browser, and want the browser to filter things without re-requesting data from the server, than Vega could in theory try to connect to an HTML control on the page (if available), and react to that.
When a user clicks on a "c" / "w" / "s" on my dashboard it only filters the kibana viz (left viz of my pic attached in my last reply) not the vega visualization (right viz)
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.