rashidkpc / kibana2

Kibana was acquired by Elastic in 2013. See elastic/kibana. More info at http://kibana.org
Other
1.19k stars 245 forks source link

Custom Filters similar to existing drop down Time Filter #434

Open Hari3045 opened 10 years ago

Hari3045 commented 10 years ago

Hi, I am trying to create filters with default values similar to the existing time filter in header. I went through the code and found that this function is taken care in panels/timepicker/modules.js. I am unable to figure our how change in $scope.filterSrv value is applied to all other panels in the dash board. On figuring this out, I am planning to add a drop down filter for another field, say a gender field with male and female option and have the choice made here impact all panels. Help is much appreciated. Thanks.