adding use_elasticsearch to config template