Forum Discussion
thomasdefise
Jan 09, 2020Brass Contributor
Azure App Service - Get Public Client IP (not RFC1918)
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 ...
sramadugu
Jan 22, 2020Copper Contributor
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.
thomasdefise
Jan 23, 2020Brass Contributor
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
- sramaduguJan 23, 2020Copper Contributor
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