adds elasticsearch task