application insights: what is the difference between pageViews and requests?

Copper Contributor

under logs, what is the difference between pageViews and requests?  Neither seems to correspond to what cloudflare logs tell us (e.g. cloudflare shows 20,000 hits for a particular URL in a given period, application insights shows 10.  Also, the client IP is always blank, so we cant correlate hack attacks with the IPs they came from.

1 Reply

@acehobbs 

 

by default app insights wont store the client IP. if you want to enable then please follow the below doc.

https://docs.microsoft.com/en-us/azure/azure-monitor/app/ip-collection

 

since you have a CDN infront of your app, the number of requests will be considerably less compared to what you see at the cloudfare. user requests will always be served from CDN as long as its been cached. 

page view : number of views of individual pages on the application

requests: number of incoming and outgoing calls made by your application.