Add elasticsearch config