elasticsearch bash script to recover logastash failed insert attempts (to new index) based on elasticsearch logs (has to be debug level)