diff --git a/modules/nw-configure-ingress-access-logging.adoc b/modules/nw-configure-ingress-access-logging.adoc index 2cafbab0ba..c6392d7626 100644 --- a/modules/nw-configure-ingress-access-logging.adoc +++ b/modules/nw-configure-ingress-access-logging.adoc @@ -157,8 +157,13 @@ spec: logging: access: destination: - type: Container container: maxLength: 8192 + type: Container + httpCaptureHeaders: + request: + - maxLength: 128 + name: X-Forwarded-For ---- +* To view the original client source IP address by using the `X-Forwarded-For` header in the `Ingress` access logs, see the "Capturing Original Client IP from the X-Forwarded-For Header in Ingress and Application Logs" Red{nbsp}Hat Knowledgebase solution. diff --git a/networking/networking_operators/ingress-operator.adoc b/networking/networking_operators/ingress-operator.adoc index 569a59ffb0..fd527f0571 100644 --- a/networking/networking_operators/ingress-operator.adoc +++ b/networking/networking_operators/ingress-operator.adoc @@ -75,6 +75,11 @@ include::modules/nw-scaling-ingress-controller.adoc[leveloffset=+2] include::modules/nw-configure-ingress-access-logging.adoc[leveloffset=+2] +[role="_additional-resources"] +.Additional resources + +* link:https://access.redhat.com/solutions/7096271[Capturing Original Client IP from the X-Forwarded-For Header in Ingress and Application Logs] + include::modules/nw-ingress-setting-thread-count.adoc[leveloffset=+2] include::modules/nw-ingress-setting-internal-lb.adoc[leveloffset=+2]