How do you determine who is attributed the investment income for a couple? We file jointly but want to benefit (income splitting) from a lower tax bracket of the spouse?

If as a couple we invest $100K and generate $5K of interest income how is it determined who reports the $5K? It could be 50/50% between the couple or who generated the $100K? thanks.