group data by hostname on index page