This is a configuration for the [trace to logs feature]({{< relref "../explore/trace-integration" >}}). Select target data source (at this moment limited to Loki data sources) and select which tags will be used in the logs query.
- **Span start time shift -** Shift in the start time for the Loki query based on the span start time. In order to extend to the past, you need to use a negative value. Use time interval units like 5s, 1m, 3h. The default is 0.
- **Span end time shift -** Shift in the end time for the Loki query based on the span end time. Time units can be used here, for example, 5s, 1m, 3h. The default is 0.
The Zipkin query editor allows you to query by trace ID directly or selecting a trace from trace selector. To query by trace ID, insert the ID into the text input.
{{<figuresrc="/static/img/docs/v70/zipkin-query-editor-open.png"class="docs-image--no-shadow"caption="Screenshot of the Zipkin query editor with trace selector expanded">}}
Use the trace selector to pick particular trace from all traces logged in the time range you have selected in Explore. The trace selector has three levels of nesting:
You can upload a JSON file that contains a single trace to visualize it.
{{<figuresrc="/static/img/docs/explore/zipkin-upload-json.png"class="docs-image--no-shadow"caption="Screenshot of the Zipkin data source in explore with upload selected">}}
You can link to Zipkin trace from logs in Loki by configuring a derived field with internal link. See [Loki documentation]({{< relref "loki#derived-fields" >}}) for details.