Forward header logs not visible


I’m trying to enable forward header logging.

Added this to my http router:

  • protocol: http
    label: outgoing
    kind: io.l5d.namerd
    dst: /$/inet/namerd.service.consul/4100
    namespace: default
    httpAccessLog: /alloc/logs/access_outgoing.log
    • port: 8081
      by: {kind: “ip:port”}
      for: {kind: ip}

I have a servicemesh service running, so I did curl -s -H “Host: servicemesh.svc.consul”
from one of the nodes in my cluster.

The access log looks like:

[root@msp-am-wkr001 alloc]# cat 88bb5553-2234-5ff6-613d-18fca1b1089d/alloc/logs/access_outgoing.log
servicemesh.svc.consul - - [10/01/2018:00:03:33 +0000] “GET / HTTP/1.1” 200 64 “-” “curl/7.29.0”

How do I get the forward header entry? Is my configuration wrong?


Is the Forwarded header actually included on requests sent by Linkerd to the target service?


Forgot about that. Thanks!