Hi, I am using a Cache Everything rule. When a user accesses a page that happens to be cached by Cloudflare, is that reflected on my origin server logs?
This article suggests that perhaps they are: https://support.cloudflare.com/hc/en-us/articles/200170786-Why-do-my-server-logs-show-Cloudflare-s-IPs-using-Cloudflare-
It says:
When a site is proxied through Cloudflare, your origin web server access log records a Cloudflare IP address for each incoming request by default.
My origin server logs already show origin real visitor IPs. I am a Pro customer, so no Cloudflare Logs for me.
sdayman
February 26, 2019, 8:40pm
2
That’s two separate issues:
Any request that does actually hit your server will come from a Cloudflare IP address due to the proxying.
But a request that is cached does not hit your server, so it won’t show up in the logs.
2 Likes
So my only options to monitor traffic are Google Analytics, a similar Javascript solution or even a Cloudflare Worker?
sdayman
February 26, 2019, 9:07pm
4
Correct. Those solutions will use a third party to log visits.
2 Likes
system
Closed
March 12, 2019, 7:58pm
5
This topic was automatically closed after 14 days. New replies are no longer allowed.