Hacked influxdb into logster, needs generalising