Get access to user selected filter value in Kibana

I have a drop down viz in Kibana which will list all the years. When the user selected an Year from the list, I want the data for next 2 years. For Ex: If user selects 2015 as Year, I want data for 2015,2016 and 2017.

As of now, when the user selects 2015, entire ES data is filtered with 2015, but I want the next consecutive years also.

So how can I access the user selected value (2015), so that I can use it and modify data selection using 3rd party plugins.

Thanks & Regards

This sounds like an overcomplication. The user should just use the timepicker in the top right and just pick the year in the "From" field for an absolute data range.