Customizing Kibana 5.1.2 -- e.g. hide visualization, collapse sidebar by default


(android.kc) #1

As title, we're getting to customize Kibana 5.1.2, are there ways to

  1. hide visualization -- is it possible to hide some kibana provided visualizations and kibana vis plugins we developed to users. These plugins are still loaded but just not display on the UI? we are trying to prevent users adding them to dashboards.

  2. collapse sidebar by default -- currently is extended after loading by default, is it possible to collapse it by default -- to have more space for dashboards.

Thanks,
KC


(Jon Budzenski) #2
  1. You can completely remove visualizations by not registering them, https://github.com/elastic/kibana/blob/d41b31db4dcae67a57024012c52d778e75ee61bc/src/core_plugins/kbn_vislib_vis_types/public/kbn_vislib_vis_types.js#L3. This will cause issues if there are already saved visualizations for that visualization type, however..
  2. The state of whether the navigation bar is collapsed/expanded on load is stored in the browser's local storage, there isn't a global configuration to default its position. I think this would make sense as an enhancement request, which can be filed at https://github.com/elastic/kibana/issues/new

(android.kc) #3

Thanks @jbudz.

for 1), I expected something not forking Kibana, either by configuration or at a plugin level..
2), will do the request there..

Thanks again!
KC


(system) #4

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