You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -31,10 +31,9 @@ This behavior is by design to help avoid unnecessary collection of personal data
31
31
32
32
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).
33
33
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
37
35
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.
38
37
39
38
### Azure Resource Manager Template
40
39
@@ -87,7 +86,7 @@ If you only need to modify the behavior for a single Application Insights resour
87
86
88
87
In this case nothing new is being purchased, we are just updating the config of the existing Application Insights resource.
89
88
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.
91
90
92
91
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.)
93
92
@@ -123,7 +122,7 @@ Content-Length: 54
123
122
124
123
## Telemetry initializer
125
124
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.
0 commit comments