The colour of the blood tells you roughly where it's coming from.
Bright red blood (haematochezia) comes from the lower intestine: the colon or rectum. It often appears as streaks or spots, sometimes with mucus and straining, and is commonly caused by colitis (inflammation of the colon) after scavenging, a diet change or stress.
Black, tarry stools (melena) contain digested blood from higher up: the stomach or small intestine. This can be caused by ulcers (including from anti-inflammatory medicines), bleeding disorders, swallowed blood or tumours, and needs prompt veterinary attention. Note that iron supplements and some foods can also darken stools.
A sudden onset of large amounts of watery, bloody diarrhea that looks like raspberry jam can be acute haemorrhagic diarrhea syndrome (formerly called HGE), which can cause rapid dehydration, especially in small breeds.
