How to enable Client_IP in Azure Log Analytics Workspace

Viewed 126

Earlier I had the same situation where the ClientIP in Application Insights Log records was showing as "0.0.0.0" and I learned that the following property can be set using "resources.azure.com", to enable showing the Client_IP using:

properties.DisableIpMasking

Recently we migrated the Application Insights Logs to Azure Log Analytics Workspace. Now, the Application Insights "Logs" shows the Client_IP whereas in Azure Log Analytics Workspace it doesn't.

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

I want to see ClientIP in Azure Log Analytics Workspace => Logs section where we see the request details, like duration, url, path, etc.

PS: I'm able to get the ClientIP in Azure App Insights Logs.

Thanks in Advance!

1 Answers

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

Related