top of page


  • Writer's pictureRoman Guoussev-Donskoi

Azure Application Insights - capture client IP

Microsoft takes a great care to help manage and protect personal data that can be collected in Azure Log Analytics.

For example Azure Application Insights by default obfuscates all IP address fields to "". (for details please refer to Guidance for personal data stored in Log Analytics and Application Insights )

And Microsoft provides capability to accommodate this requirement with ease. In 1 minute you can disable IP masking and re-enable it back once the troubleshooting session is over.

To start below we can see default Application Insights behavior (client IP information is masked)

While there are many ways to change this behavior probably the easiest is to go to Azure Resource Explorer , navigate to your Application Insights instance and update (or add) "DisableIpMasking" property like shown below.

Now we can observe that older records have client IP masked and new AI records contain actual client IP values.

Also in record detail we now can correlate client IP will all other information captured in AI. The settings affect web logs (AI "request" records) and application log("trace" records).

If later you need to find private data (including client IPs) stored in your Azure Log Analytics Microsoft also provides great AI query examples to look for private data.

Hope you find this useful and all the best on your cloud journey!

6,893 views0 comments

Recent Posts

See All

Databricks is an amazing platform for data engineering, data science and machine learning. One of the critical requirements of secure data processing is data audit - the ability to identity what data

SAS access to storage account is very convenient and easy and while Microsoft recommends that you use Azure AD credentials when possible as security best practice still SAS sometimes hard to avoid. Le

Home: Blog2


Home: GetSubscribers_Widget


Your details were sent successfully!

Home: Contact
bottom of page