Inject kibana topbar with timeFilter into custom plugin

(Abdelwahed Mohamed) #1

Hello commmunity it's possible to inject the kibana topbar with the timeFilter into my plugin ??

im using kibana 5.4.1 and i generated the plugin using the

Thank you in advance.

(Marius Dragomir) #2


You can look at how it was done in this plugin: but the gist of it is to get the timefilter from the dependency injector and then call getRange on it.

(Abdelwahed Mohamed) #3

hello marius_dragomir,

thank you for your response but my problem is not how to access the timefilter inside my controller but how to user directive inside my template and it show the topbar with the range filter on the ui.

(system) #4

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