adding elasticsearch integration