finish elasticsearch post