Have you considered making tea with the spices and then tasting it?
This will give you a good idea of the flavor contribution and also the amount you may want to add.
I think the biggest problem is the amount of salt added. As Nosy said, unless it's Gose style, that's not good in beer.
The Garlic and Onion are flavors that can be found in some Hops, so other than being stronger in flavor, I'd be fine with them.
The other spices, as suggested, may be better toasted. I'd crush and press them between paper towels to get as much of the oil out of them as possible.
Have fun with it and keep us posted.
Cheers,
Brian