Track discount as expense?

I would like to be able to track discount and monitor how much it cost me to give discount when I sell my products. Is there a way to do that. Right now the discount is not monitored in an account of the general ledger but I can see it partially in a custom sales invoices report…

What is the best way to see the total discount given per product for a period of time.
Thanks