Is there any way to delete logic app run history / logs?

你。 提交于 2021-01-28 18:01:41

问题


Is there any way to delete all the Run history logs from a logic app.

I know there is a preview on "Log Retention Time" right now being tested but the most frequent time to delete all logs is once every week. I need to be able to do it more frequent, in this case every 3rd day.

Is there any other way to delete logic app logs/history?

EDIT: Looking at the PowerShell commands in Azure resource manager for a specific run there are only two actions that the Azure resource manager API supports. GET and CANCEL (which I guess is cancel a run while it is running).


回答1:


A workaround would be to recreate the logic app which would get rid of the run history. If you have your Logic App deployment scripted, you can delete it and redeploy it as required.

If you want to do it manually, you can clone it with a new name, delete the original one, clone the cloned one using the original name, and then delete the clone.

HTH.



来源:https://stackoverflow.com/questions/52388377/is-there-any-way-to-delete-logic-app-run-history-logs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!