Add CF-RAY header to Kubernetes Istio ingress gateway logs using Envoy

Hello,

Here are examples how to add the CF-RAY header to Apache and NGINX logs

Does anybody has example how to add CF-RAY header to Kubernetes Istio ingress gateway logs using Envoy?

A kind of:

name: envoy.filters.http.lua
typed_config:
  "@type": type.googleapis.com/envoy.extensions.filters.http.lua.v3.Lua
  inline_code: |
    function envoy_on_response(response_handle)
      -- Do something.
    end

https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/lua_filter

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.