有什么方法可以删除逻辑应用程序的运行历史记录/日志? [英] Is there any way to delete logic app run history / logs?

查看:55
本文介绍了有什么方法可以删除逻辑应用程序的运行历史记录/日志?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么方法可以从逻辑应用程序中删除所有运行历史记录"日志.

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

我知道目前正在测试日志保留时间"的预览,但是删除所有日志的最频繁时间是每周一次.我需要能够更频繁地执行此操作,在这种情况下,每3天一次.

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?

在Azure资源管理器中查看特定运行的PowerShell命令,Azure资源管理器API仅支持两个操作.GET和CANCEL(我猜是在运行时取消运行).

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

推荐答案

一种解决方法是重新创建将删除运行历史记录的逻辑应用程序.如果您已将Logic App部署脚本化,则可以将其删除并根据需要重新部署.

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.

这篇关于有什么方法可以删除逻辑应用程序的运行历史记录/日志?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆