Jan 09 2020 12:51 AM
Hello,
I'm currently looking at the "AppServiceHTTPLogs" from an App Service. This App Service is publicly accessible over the internet. When I watch the logs, I'm not able to get the Private IP from the customer, would it be possible somehow to get the IP of the customer accessing my App Service.
At the moment, I only see RFC1918 IPs in the cIP field.
Kind Regards,
Thomas
Jan 22 2020 11:47 AM
if you enable application insights on the app level. you will get the client IP and also many other details on your app usage and behavior.
Jan 22 2020 11:58 PM
Hello @sramadugu,
First, let me thank you for helping me.
Unfortunately, I'm not able to see the forward those logs towards Azure Sentinel or external SIEM (from what I see), and I also only see "0.0.0.0" as client_IP.
Kind Regards,
Thomas
Jan 23 2020 07:37 AM
the default behavior of app insights doesn't capture the IP, but you can follow the below doc to override the default and capture the IP.
https://docs.microsoft.com/en-us/azure/azure-monitor/app/ip-collection