JSON Log Format¶
By default, Robusta components emit human-readable, colored text logs. You can switch them to structured JSON logs (one JSON object per line), which are easier to index, search, and filter with log collectors such as Filebeat, Fluent Bit, or Loki.
Enabling JSON Logs¶
Set the global.enableJsonLogsFormat value in your Helm values:
global:
enableJsonLogsFormat: true
This single switch is shared across the Robusta components:
robusta-runner emits JSON logs.
KRR scan jobs inherit the setting from the runner (when scan results are pushed back over the API, which is the default).
HolmesGPT (when deployed via the chart) emits JSON logs as well — the
globalvalue is passed through to the Holmes sub-chart.
The default is false, which preserves the existing colored text output. No
change is needed unless you want JSON logs.