Forum Discussion
How to delete table under CustomLogs ingested using HTTP Datacollector API?
- Jan 30, 2019
Hi,
First the retention policy of custom data is the retention policy of any data in your Log Analytics workspace. By default workspace have retention of 31 days but that is configurable setting so it depends on what you have changed it to if you had at all. You can remove the custom log from Log Analytics blade - > Advanced Settings - > Data -> Custom Fields. There you can see all your custom fields for your custom log data. Once you remove the custom fields for the custom log, when you query the custom log you will get only records with Time Generated. Deleting data from Log Analytics is also possible but be careful. Read the instructions carefully:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/personal-data-mgmt
The menu that you are describing is for custom logs feature but not for logs from Ingestion API.
How long did you wait before re-creating? I think I noticed this too, but if I waited long enough, it was gone for good.
- Craig635May 11, 2021
Microsoft
Waited a few hours, no luck. trying the Purge API now, it returns an HTTP 202 response that lets you then GET the status of the operation. That one has been pending for hours.