Skip to content

Commit accb498

Browse files
committed
Updating article for freshness
1 parent cb26445 commit accb498

File tree

1 file changed

+7
-18
lines changed

1 file changed

+7
-18
lines changed

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

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ The telemetry types are:
2323

2424
This behavior is by design to help avoid unnecessary collection of personal data and IP address location information.
2525

26-
> [!NOTE]
27-
> The default and our recommendation is to not collect IP addresses. If you override this behavior, verify that the collection doesn't break any compliance requirements or local regulations.
28-
>
29-
> To learn more about handling personal data, see [Guidance for personal data](../logs/personal-data-mgmt.md).
30-
3126
When IP addresses aren't collected, city and other geolocation attributes also aren't collected.
3227

3328
## Storage of IP address data
3429

30+
> [!WARNING]
31+
> The default and our recommendation is to not collect IP addresses. If you override this behavior, verify the collection doesn't break any compliance requirements or local regulations.
32+
>
33+
> To learn more about handling personal data, see [Guidance for personal data](../logs/personal-data-mgmt.md).
34+
3535
To enable IP collection and storage, the `DisableIpMasking` property of the Application Insights component must be set to `true`. You can set this property through Azure Resource Manager templates (ARM templates) or by calling the REST API.
3636

3737
### ARM template
@@ -119,24 +119,13 @@ Content-Length: 54
119119
120120
### PowerShell
121121
122-
The PowerShell 'Update-AzApplicationInsights' cmdlet can disable IP masking with the `DisableIPMasking` parameter.
122+
The PowerShell `Update-AzApplicationInsights` cmdlet can disable IP masking with the `DisableIPMasking` parameter.
123123
124124
```powershell
125125
Update-AzApplicationInsights -Name "aiName" -ResourceGroupName "rgName" -DisableIPMasking:$true
126126
```
127127

128-
For more information on the 'Update-AzApplicationInsights' cmdlet, see [Update-AzApplicationInsights](/powershell/module/az.applicationinsights/update-azapplicationinsights)
129-
130-
## Frequently asked questions
131-
132-
This section provides answers to common questions.
133-
134-
### How is city, country/region, and other geolocation data calculated?
135-
136-
We look up the IP address (IPv4 or IPv6) of the web client:
137-
138-
* Browser telemetry: We collect the sender's IP address.
139-
* Server telemetry: The Application Insights module collects the client IP address if `X-Forwarded-For` isn't set.
128+
For more information on the `Update-AzApplicationInsights` cmdlet, see [Update-AzApplicationInsights](/powershell/module/az.applicationinsights/update-azapplicationinsights)
140129

141130
## Next steps
142131

0 commit comments

Comments
 (0)