read influxdb confic from env
implemented general GetConf() function