A dropdown visualization which allows users to set filters from a list of values.
To install the plugin, follow these steps...
- Execute the following commands on the Kibana server.
> cd KIBANA_HOME/plugins
> git clone https://github.com/robcowart/kibana-vis-dropdown.git
> cd kibana-vis-dropdown
> npm install
- Edit
package.json
setting the kibana version to the version of Kibana that is installed. Versions 5.5.x and 5.6.x should work.
kibana": {
"version": "5.6.1"
},
- Start Kibana.
> KIBANA_HOME/bin/kibana
To set up the dropdown visualization, create a Visualisation of type 'Dropdown Picker'
To configure the vizualization, leave the metric as count and click on Field to filter on
.
Select the field from which to derive the values to be added to the dropdown list, the sort order and the maximum number of values to be listed.
In the visualisation options, you can set whether the dropdown is allowed to be blank. If this is true, you can hit escape while the dropdown is open to close it without selecting a value.
Save the visualization and it can then be added to a dashboard, where it will be used to set filters by selecting an item from the dropdown list.