Thanks man! That works 
One more thing, when naming the index's we want to use "elasticsearch_$date"
Where $date is the timestamp of the days date the index was created. Is there any way of parsing that to ES have the index prefix with "elasticsearch_$date$"?
Thanks