Search visitors by custom variable

Is there a way to search visitor log by a custom variable?

Let’s say I have a custom variable that hold user’s unique ID. How can I find that visitor log if I search by that user’s unique ID?

Yes it is possible! you can use the Segment selector to select visits with only this custom variable: Segmentation - Compare segments of visitors - Analytics Platform - Matomo