Add ability to specify where clause to InfluxDB