1

早些时候,我遇到过同样的情况,Application Insights 日志记录中的 ClientIP 显示为“0.0.0.0”,我了解到可以使用“resources.azure.com”设置以下属性,以便使用以下方式显示 Client_IP:

properties.DisableIpMasking

最近,我们将 Application Insights 日志迁移到 Azure Log Analytics 工作区。现在,Application Insights“日志”显示 Client_IP,而在 Azure Log Analytics Workspace 中则不显示。

是否有任何设置可用于在 Azure Log Analytics 工作区 - 日志记录中启用 Client_IP?

我想在Azure Log Analytics Workspace => Logs 部分查看 ClientIP,我们可以在其中查看请求详细信息,例如持续时间、url、路径等。

PS:我可以在 Azure App Insights Logs 中获取 ClientIP。

提前致谢!

4

1 回答 1

0

Is there any settings available to enable the ClientIP in Azure Log Analytics Workspace - Logs ?

AFAIK, We don't have options for adding clientIP in Azure Log analytics Workspace. And even not available in resources.azure.comas log analytics uses default azure public IPs.

enter image description here

For more information please refer this GitHub discussion by @femsulu

于 2022-02-08T12:44:27.793 回答