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.
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.
- Change Format to Url
- Change Type to Link
- Change URL template to https://app.getheilos.dev?actionTraceId={{value}}
- Save
Now the trace_id column will appear as a link to that trace in Helios for quick access and navigation when debugging or troubleshooting.
Kibana
Updated about 1 year ago