Using span/trace id in query of "Trace to log"

I was setting up a Grafana Dashboard as a replacement for my Jaeger UI to be able to profit from the synergies with loki and it is working great so far!

I am however currently struggeling to implement a jump from the spans to the relevant logs only.

My logs currently contain the span id and the trace id wherever possible and I would like to filter for those when clicking the “To log” button in the trace view. Currently I can match the jaeger tags to the stream selectors in the respective loki query. BUt is there a way to use the span/ trace id in the line filter part of the query?

Thanks a lot!
Simoon

This is currently not possible, but I would suggest creating feature request on github for this.