simplify elasticsearch config