Nov 09 2019
- last edited on
Apr 08 2022
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.
Nov 12 2019 09:16 PM
pageViews and requests are similar
Request - Send information about a request handled by the application.
PageViews - Send information about the page viewed in the application.
In practice though the challenge is identifying what is sending the information and what settings have been applied. Assuming this is a asp.net web app, have a look at the application insights configuration file.
Take a look to see if any sampling has been applied. A common way to do this is to add a TelemetryProcessor like the following:
<Add Type="Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.AdaptiveSamplingTelemetryProcessor, Microsoft.AI.ServerTelemetryChannel">