mark
mark

Reputation: 62836

Is it possible to purge concrete custom events from Azure Application Insights?

I had to push certain events manually and accidentally did it twice. I would like to purge the duplicates. Is it possible at all?

Upvotes: 1

Views: 109

Answers (1)

TrevorBrooks
TrevorBrooks

Reputation: 3840

This allows you to specify filters to use when purging, which may work for your situation: https://learn.microsoft.com/en-us/rest/api/application-insights/components/purge

Passing in the operationId Guid will allow you to retreive the status of the purge operation.

For example: https://management.azure.com/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Insights/components/YourApplicationInsights/operations/purge-_GuidReturnedbyPURGEoperation?api-version=2015-05-01

Be advised it can take up to 72 hours for the data to completely purge.

Also, here's a good little blog article that has a few more details: https://sanganakauthority.blogspot.com/2019/06/how-to-delete-or-purge-azure.html

Upvotes: 1

Related Questions