Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove trace from application insight

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.

like image 288
Rousonur Jaman Avatar asked Aug 25 '17 12:08

Rousonur Jaman


People also ask

How do I remove logs from application insights?

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).

What is traces in application insights?

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 data stored in application insights?

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.

How do I query traces in application insights?

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.


1 Answers

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

like image 199
Arun Vinoth - MVP Avatar answered Oct 14 '22 02:10

Arun Vinoth - MVP