How to reset the Kudu WebJob dashboard or logging?

那年仲夏 提交于 2020-01-12 05:40:07

问题


I'm trying to find details of the function executions of a particular WebJob. Unfortunately the function dashboard in Kudu is showing duplicates, exclamation marks, and no function executions for over two months.

Trying to use the Azure CLI to list the WebJob's runs gives the error NotFound.

The WebJob has been moved to a different web app which could be related.

It doesn't matter if all of the logging history is wiped and everything reset, I would just like this working again! Any ideas?


回答1:


Just browse the storage account configured for your Azure WebJob Dashboard (using a tool like Microsoft Azure Storage Explorer) and delete the content of azure-jobs-* and azure-webjobs-* containers:




回答2:


To remove items appearing under Functions on the Web Jobs Dashboard - just remove the entry in the Azure Storage Blob Table AzureWebJobsHostLogscommon corresponding to the RowKey matching the name appearing there.

After doing this - the dashboard no longer shows functions that have been removed from this table.



来源:https://stackoverflow.com/questions/36758949/how-to-reset-the-kudu-webjob-dashboard-or-logging

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