add elasticsearch task