I have eye discharge.

Literal

Eye-discharge [subj-が] comes-out.

目やに ('eye discharge, sleep in the eyes') is a common everyday word. 出ます is the polite present of 出る. A practical sentence for a doctor's visit.