Not able to see the log of a trace

Hello,

I have a problem that when clicking on a log I can see its trace but that doesnt work for seeing a log of a trace.

Hello @rouaabenayed ,

Could you please provide more details about the issue, along with a screenshot of the problem? This will help me better understand the situation and allow me to find an appropriate solution for you.

Hello,
This is an example of a trace:

And then if I click on Logs for this span, I get:

Any updates?

Hi @rouaabenayed, we have the exact opposite issue to you we can see the Logs to traces button and it works, but we can’t get the “Log for this span“ to appear. Our config in Grafana on our Loki Data Source looks like this?
As you can see we use a correlationId that is included in the log json payload, then we extract the id from the log with regex and set it to a value that we then match up in the traces. You should be able to do it for spanid or eventid, which every id you have in your logs that matches with your traces. Please provide a screenshot of your Datasource config in tempo if you can, thank you.