For this, a single confession by the drinker, or the testimony of two upright witnesses, is sufficient, even if they testify only to the vomiting.
This has already been mentioned several times earlier.
This is because the smell of wine comes from a person’s stomach only when he has drunk wine, and only the one who has drunk wine vomits (wine).
[Al-Sayl al-Jarrar: 350/4]
For this reason the Companions applied the hadd punishment to al-Walid ibn Uqba. Humran and another man testified against him. One of them testified that he had seen him drinking wine, and the other said that he had seen him vomiting wine. Upon this, Uthman (may Allah be pleased with him) said: How could he vomit it unless he had drunk wine?
[Muslim: 1707, Kitab al-Hudud: Bab Hadd al-Khamr]