integrate elasticsearch