prepping commands to pushing data to elasticsearch