diff --git a/content/en/docs/tasks/observability/logs/access-log/index.md b/content/en/docs/tasks/observability/logs/access-log/index.md index c851cefc0a..4340b6a83c 100644 --- a/content/en/docs/tasks/observability/logs/access-log/index.md +++ b/content/en/docs/tasks/observability/logs/access-log/index.md @@ -27,7 +27,19 @@ In the example below, replace `demo` with the name of the profile you used when {{< text bash >}} $ istioctl manifest apply --set profile=demo --set values.global.proxy.accessLogFile="/dev/stdout" -configmap "istio" replaced +- Applying manifest for component Base... +✔ Finished applying manifest for component Base. +- Applying manifest for component Pilot... +✔ Finished applying manifest for component Pilot. +- Applying manifest for component EgressGateways... +- Applying manifest for component IngressGateways... +- Applying manifest for component AddonComponents... +✔ Finished applying manifest for component EgressGateways. +✔ Finished applying manifest for component IngressGateways. +✔ Finished applying manifest for component AddonComponents. + + +✔ Installation complete {{< /text >}} You can also choose between JSON and text by setting `accessLogEncoding` to `JSON` or `TEXT`. @@ -39,9 +51,9 @@ You may also want to customize the All three of these parameters may also be configured via [install options](/docs/reference/config/installation-options/): {{< /tip >}} -* `global.proxy.accessLogFile` -* `global.proxy.accessLogEncoding` -* `global.proxy.accessLogFormat` +* `values.global.proxy.accessLogFile` +* `values.global.proxy.accessLogEncoding` +* `values.global.proxy.accessLogFormat` ## Test the access log @@ -100,7 +112,23 @@ $ kubectl delete -f @samples/httpbin/httpbin.yaml@ Edit the `istio` configuration map and set `accessLogFile` to `""`. +{{< tip >}} +In the example below, replace `demo` with the name of the profile you used when you installed Istio. +{{< /tip >}} + {{< text bash >}} -$ istioctl manifest apply -configmap "istio" replaced +$ istioctl manifest apply --set profile=demo +- Applying manifest for component Base... +✔ Finished applying manifest for component Base. +- Applying manifest for component Pilot... +✔ Finished applying manifest for component Pilot. +- Applying manifest for component EgressGateways... +- Applying manifest for component IngressGateways... +- Applying manifest for component AddonComponents... +✔ Finished applying manifest for component EgressGateways. +✔ Finished applying manifest for component IngressGateways. +✔ Finished applying manifest for component AddonComponents. + + +✔ Installation complete {{< /text >}}