Change agg config: host -> query, group -> type