Skip to content

Commit f243b72

Browse files
authored
Merge pull request #88157 from mrbullwinkle/mrb_09_11_2019_client_ip
update collection info
2 parents 66d6ee8 + 2a6c41f commit f243b72

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

articles/azure-monitor/app/ip-collection.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 0e3b103c-6e2a-4634-9e8c-8b85cf5e9c84
88
ms.service: application-insights
99
ms.tgt_pltfrm: ibiza
1010
ms.topic: conceptual
11-
ms.date: 07/31/2019
11+
ms.date: 09/11/2019
1212
ms.author: mbullwin
1313
---
1414

@@ -31,10 +31,9 @@ This behavior is by design to help avoid unnecessary collection of personal data
3131

3232
While the default behavior is to minimize the collection of personal data, we still offer the flexibility to collect and store IP address data. Before choosing to store any personal data like IP addresses, we strongly recommend verifying that this does not break any compliance requirements or local regulations that you may be subject to. To learn more about personal data handling in Application Insights, consult the [guidance for personal data](https://docs.microsoft.com/azure/azure-monitor/platform/personal-data-mgmt).
3333

34-
## Storing partial IP address data
35-
36-
In order to enable partial IP collection and storage, the `DisableIpMasking` property of the Application Insights component must be set to `true`. This property can be set either through Azure Resource Manager templates or by calling the REST API. IP addresses will be recorded with the last octet zeroed out.
34+
## Storing IP address data
3735

36+
In order to enable IP collection and storage, the `DisableIpMasking` property of the Application Insights component must be set to `true`. This property can be set either through Azure Resource Manager templates or by calling the REST API.
3837

3938
### Azure Resource Manager Template
4039

@@ -87,7 +86,7 @@ If you only need to modify the behavior for a single Application Insights resour
8786

8887
In this case nothing new is being purchased, we are just updating the config of the existing Application Insights resource.
8988

90-
6. Once the deployment is complete new telemetry data will be recorded with the first three octets populated with the IP and the last octet zeroed out.
89+
6. Once the deployment is complete new telemetry data will be recorded.
9190

9291
If you were to select and edit template again you would only see the default template and would not see your newly added property and its associated value. If you aren't seeing IP address data and want to confirm that `"DisableIpMasking": true` is set. Run the following PowerShell: (Replace `Fabrikam-dev` with the appropriate resource and resource group name.)
9392

@@ -123,7 +122,7 @@ Content-Length: 54
123122
124123
## Telemetry initializer
125124
126-
If you need to record the entire IP address rather than just the first three octets, you can use a [telemetry initializer](https://docs.microsoft.com/azure/azure-monitor/app/api-filtering-sampling#add-properties-itelemetryinitializer) to copy the IP address to a custom field that will not be masked.
125+
If you need a more flexible alternative than `DisableIpMasking` to record all or part of IP addresses, you can use a [telemetry initializer](https://docs.microsoft.com/azure/azure-monitor/app/api-filtering-sampling#add-properties-itelemetryinitializer) to copy all or part the IP to a custom field.
127126
128127
### ASP.NET / ASP.NET Core
129128

0 commit comments

Comments
 (0)