adding elasticsearch handler