0

Is there any way to perform delete operation on custom log entries in azure log analytics.I have followed this link for reference but only GET & POST methods are defined there.

2 Answers2

1

Per my understanding, if you want to delete custom log in Azure log analytics, you can remove Custom Logs in Advanced Settings. Note: Custom Fields tied to that Custom Log will also be removed. For more details, you can refer to the doc.

Hannahwy
  • 101
  • 5
0

Purging data

If you're looking for a way to purge data, this link will give you more information on how to do it. Also, check out this blog post. Keep in mind that this is a highly privileged operation.


Custom Log based on files

To delete custom logs collected from text files, see Hannahwy's link to the docs


Custom Logs created via HTTP Data Collector API

Delete custom fields

If you're looking for way to delete custom fields, this Microsoft link shows a picture of it with the remove link next to the field. This is under your Workspace:

  • Choose Advanced Settings
  • Navigate to Data > Custom Fields

Delete custom log

If you're looking to delete the entire custom log, I have NOT found a way to do it. Since the feature is in public preview, I would expect that the ability will come in the near future. When that happens, please leave a comment below.

Update: Please vote for the delete custom log feature here

David Yates
  • 1,935
  • 2
  • 22
  • 38