.net - 删除 Azure 上的特定 Application Insights 事件

标签 .net powershell azure azure-application-insights

有没有办法从 Azure 中仅删除特定 Application Insight 自定义事件? (通过门户或 powershell)

如果可能的话,我很想避免:

  • 删除整个 Application Insights 服务并重新创建它(我想保留 99% 的当前指标)
  • 过滤掉数据。我正处于开发阶段,并且不小心发送了一些虚假指标。现在这些事件已经存在,并且过滤很复杂,因为我必须按事件时间忽略这些少数事件。

最佳答案

有一种方法可以删除数据,用于 GDPR 类型的目的。它并不是一种通用的删除机制,并且在其工作方式和删除频率方面有许多限制。

参见https://learn.microsoft.com/en-us/azure/azure-monitor/platform/personal-data-mgmt

We have made available as part of a privacy handling a purge API path. This path should be used sparingly due to the risk associated with doing so, the potential performance impact, and the potential to skew all-up aggregations, measurements, and other aspects of your Log Analytics data. See the Strategy for personal data handling section for alternative approaches to handle private data. Purge is a highly privileged operation that no app or user in Azure (including even the resource owner) will have permissions to execute without explicitly being granted a role in Azure Resource Manager. This role is Data Purger and should be cautiously delegated due to the potential for data loss.

While the vast majority of purge operations may complete much quicker than the SLA, due to their heavy impact on the data platform used by Application Insights, the formal SLA for the completion of purge operations is set at 30 days.

参见https://learn.microsoft.com/en-us/rest/api/application-insights/components/purge了解删除特定数据的详细信息。

关于.net - 删除 Azure 上的特定 Application Insights 事件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38219702/

相关文章:

java - Azure RBAC 与 Power shell 相比缺少任何权限吗?

azure - Application Insights 分析 让运算符(operator)

c# - 将字符串拆分为数组,删除空格

powershell - VS Code 终端中的选项卡补全无法完成突出显示的命令

windows - Powershell 立即关闭

powershell - 超时 Get-WMIObject cmdlet

Azure 应用服务 API CORS 策略不起作用

c# - NPOI 自动调整列

c# - 是否有可能有一个取消 token 源,仅取消一些服务员?

python - 在 Maya 中使用 .NET