-->

How to reset the Kudu WebJob dashboard or logging?

2019-03-29 11:45发布

问题:

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.