Write a function that takes a dataset of transaction logs and returns the top 5 customers by spending, grouped by month.