Viewing logs in Kibana with complete context based on distributed traces
Easy access to view logs within their relevant trace context in Helios.
The purpose of this guide is to provide practical tips for making viewing relevant traces of logs in Kibana more intuitive and effective so that you can access the information you need quickly.

Information of logs instrumented by Helios in Kibana
Logs need to be instrumented by Helios
In order to correlate between logs viewed in Kibana and traces / visualization in Helios, your logs need to be instrumented by installing the Helios SDK (Node.js | Python).
Open Kibana and go to Management > Index Patterns. Select the relevant index pattern.
Then, filter for the trace_id field and select the edit option on the right.

Filter for the trace_id field and select the edit option on the right
- Change Format to Url
- Change Type to Link
- Change URL template to https://app.getheilos.dev?actionTraceId={{value}}
- Save

Edit trace_id field
Now the trace_id column will appear as a link to that trace in Helios for quick access and navigation when debugging or troubleshooting.

trace_id column will appear as a link to that trace in Helios
Kibana
Updated 10 months ago