Adhoc filter variable reference, influxdb

How can I refer adhoc filter tag and value variable, i am using influxdb datasource?