WebJob Logs

The webjobs on Azure app Service run on the KUDU process, sometimes we are not sure how to retrieve data about my webjob. Is important to mention that you can monitor your WebJobs from the Azure Portal. 

Go to your App Service and on the left menu  -> write on the search box “WebJobs” and click on it: 

You will have a window with all the WebJobs under this App Service. Click on the WebJob  that you want to monitor and then click on logs:

 This will open a new window and you will need to login with the same credentials that you use on the Azure Portal. 

You will be able to monitor the WebJobs from the dashboard. Use the image below as reference: 

Then you can click the WebJob and review the logs from there. 

In the WebJob dashboard you will be able to see how long are taking to complete and the logs of the WebJob.

You will need to click in once of the recent job.  

You can download the logs click on “download”.

You can see the time of start and the time when the webjob finished.

Application Insights is a Service we provide that you can use to monitor live your web application. It includes analytics tools that can help you diagnose issues. You can also add some lines of code so that the WebJobs send the data directly to the Application Insights tool for you to diagnose as well.

Please refer to the following documentation:

•        Overview: https://docs.microsoft.com/en-us/azure/application-insights/app-insights-overview 

•        Custom events and metrics: https://docs.microsoft.com/en-us/azure/application-insights/app-insights-api-custom-events-metrics

•        Application insights integration for WebJobs: https://github.com/Azure/azure-webjobs-sdk/wiki/Application-Insights-Integration

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *