Influxdb: Part 2

This PR will finally fix #39.
I did not add this because there may be multiple tables for other databases. So currently, I just hard coded the table name. Any better way to handle this case?