Kibana single date picker visualization plugin


(Sanjiv Jivan) #1

Hi,
I have a requirement to allow the user to easily pick a single date from a date picker and this should effectively apply an absolute range filter for the day from 00:00:00.000 to 23:59:59.999. The Kibana Absolute date picker allows this but its quite inconvenient to be adjusting both dates to get to this range each time the user needs to pick a date.

Does anyone know of such an existing plugin? If not I will try to build one and would like to get suggestions on a good starting point. For example does kibana pre-bundle any library that has a date picker? If not, I could use jQuery or Bootstrap but suggestions are welcome.

Thanks,
Sanjiv


(Jon Budzenski) #2

Kibana does come with the datepicker in angular-bootstrap (0.12), see https://github.com/elastic/kibana/blob/8eed97b69fa71e096c04a01ae1b26efa641fec85/src/ui/public/angular-bootstrap/datepicker/datepicker.js. A good starting point for plugins is https://www.elastic.co/elasticon/conf/2016/sf/how-to-build-your-own-kibana-plugins, and checking out kibana's core plugins. These use the same API's as external plugins and you can be fairly confident they are up to date. The folder for those is here.


(Sanjiv Jivan) #3

Thanks, I'll give it a shot!


(system) #4

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