Add elasticsearch to configuration