How to filter logs in Loki by the TraceID

I need to know how should I filter the logs are relevant to a TraceID ? simply how to filter the logs by different TraceIDs .

Use standard Loki query and search trace id in logs, e.g.:

Your logs may be structured, so then you can be more explicit, e.g.: