Kibana - Filters in Dashboard shared by iframe

0

I'm sharing a Kibana 5 dashboard through an iframe. Said iframe I'm loading it in my webapp.

Is there any way to set filters, clean them or select the time range from said iframe?

PS: With the route you can select the filters and initial time range, I mean something more interactive.

    
asked by Daniel Faro 12.06.2017 в 09:50
source

1 answer

0

I have been investigating the issue for a couple of days, the only legal way to modify filters, range of dates, etc in iframe embedded in my application is through the URL. But that is a pain in the ass, besides, it means having to add an extra widget in my app to manipulate the URL of the Iframe ... a crap.

By the way, Kibana uses Rison to encode and decode that URL to JS object, I'll leave it here if it's useful.

Peeero, after analyzing the Jib of Kibana I realized that they are simply hiding the filter bar when Kibana is in embedded mode, you can modify the code of the application so that it does not. For Kibana 5.4.1 I recommend that you take a look at /optimize/bundles/kibana.bundle.js

    
answered by 15.06.2017 / 07:44
source