background commands for ES and influxdb