import time series data from elastic search to influxdb