I have deployed my project in Azure & using Application Insights. After deployment, I have done some test that why some traces wrote in respective Application Insights.
But, I just want a fresh (without any trace) Application Insights without creating a new Application Insights resource.
Is it possible to remove the previous traces from Application Insights? how?
*Application Insights- system monitor & trace/log viewer at Azure.
To delete Application Insights data, you've essentially 3 possible ways: Delete your Application Insight instance (but this is not what do you want to achieve I think) Use data retention policy: this deletes all data over a defined time period (default = 90 days).
Trace telemetry (in Application Insights) represents printf style trace statements that are text-searched. Log4Net , NLog , and other text-based log file entries are translated into instances of this type. The trace does not have measurements as an extensibility.
How long is the data kept? Raw data points (that is, items that you can query in Analytics and inspect in Search) are kept for up to 730 days. You can select a retention duration of 30, 60, 90, 120, 180, 270, 365, 550, or 730 days.
Go to Application Insights resource in your resource group. Go to Logs under Monitoring section. Click on traces eye button to get log traces. Select Time Range and click Run.
It's impossible to delete any data. It ll auto-clear after retention policy days (I guess 1 or 2 weeks).
See SO link talking about disabling telemetry while debug/testing.
Btw, You can vote to bring this idea up for implementation.
Update:
The idea of deleting/purging data is completed. Now it’s possible to purge the data from AppInsights.
Reference
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With