How i can verify my cloudflared tunnel is routing traffic through it? i don't see any entries in logs when i hit my end point

I created a cloudflared tunnel which is up and running. Log level set to -info
my host is : xxxx
cloudflared version: 2022.10.0

tunnel: 927edbc0-67fa-4afc-a249-9
credentials-file: /etc/cloudflared/927edbc0-67fa-4afc-a249-9.json
logfile: /var/log/cloudflared.log
loglevel: info
ingress:
  - hostname: xxxx
    originRequest:
      httpHostHeader: xxxx
      originServerName: xxxx
    service: https://localhost:443
  - service: http_status:404

One really easy option to see if the traffic is even hitting your tunnel is just to switch out service: https://localhost:443 for service: http_status:418, restart the tunnel, and see if requests start giving the appropriate error.

A better option might be to increase the logging level to see if anything shows up that indicates requests are passing through, but it looks like you’ll need to go to debug to see active traffic.

@thedaveCA Thanks for the inputs. After changing as suggested, i can see entries in logs.

1 Like

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