Queensland Health has issued an E coli alert linked to the recent Ekka show in Brisbane.

It says four people who went to the show are being treated for diarrhoea from the Shiga toxin producing E coli, but haven't been hospitalised.

It is unclear at this stage the exact source of the bacteria, but the affected persons reported visiting the animal boulevard.

"They would have patted an animal," a spokesman told AAP.