I’m trying to change the log format of as many components as possible to JSON instead of plain text.
For Istiod i’ve come across this documentation page: https://istio.io/latest/docs/ops/diagnostic-tools/component-logging/
In short, it says that with the --log_as_json parameter i can make istiod log in JSON format. That works, i’ve tried it by manually editing the istiod deployment yaml.
What i’m struggling with is how to include this parameter in the setup of Istio via istioctl.
Is there perhaps a parameter in the IstioOperator CRD that can be used for this, to make instioctl include this parameter?
I’ve found accessLogEncoding, but that is only for the sidecar access logs, not for istiod.
Help would be greatly appreciated! Thank you in advance!