1

Our infrastructure consists of a Azure HTTP triggers which receive client REST calls via Azure API Management Service.

We use Application Insights for logging all throughout. However, the client_IP field always comes up as 0.0.0.0. The following example is a screen capture from the Requests table of Application Insights which has been filtered on the clould_RoleName to show requests that have been captured by API Management.

enter image description here

What are we missing?

Thank you,

Sau

Sau001
  • 1,451
  • 1
  • 18
  • 25

1 Answers1

1

By default IP addresses are temporarily collected, but not stored in Application Insights. You can refer to this article for more details.

And to store the real IP addresses, you can easily follow this documents to add a key/value pair "DisableIpMasking": "true" in your application insights resource -> arm template.

Ivan Glasenberg
  • 29,865
  • 2
  • 44
  • 60