check influxdb queries
fixing rubocop offenses
adding query alias to make output short if required
fixing rubocop offenses
Merge pull request #890 from zeroXten/check-influxdb-query.rb

check influxdb queries