0

I've created an Azure Function App with python and have published an app that runs every 5 minutes. I used to go to the Function > Monitoring to see the last 30 day runs. I've checked today and all logs have disappeared and the function does not display any runs in the Overview enter image description here

The last time I checked before this happened, I had loads of logs in here but now I have none. I know the function is running because if I go to Application Insight into Live Monitoring I can see the traces and also can check that the results are being processed. I haven't changed anything to the script and not sure why this is happening. Has anyone experienced this and found a fix?

enter image description here

EDIT

I've recreated the Function App and noticed that it creates a DefaultResourceGroup-XXX resource group with a Default Workspace in it which I remember deleting it when I first created the Function App. I've left it on and now I see the logs in Monitoring but cannot see any connections to the Function App itself. Does anyone know how does this workspace relate to the logs and is there a way I can create a more user-friendly workspace name and link it to the App?

Andrei Budaes
  • 591
  • 7
  • 22
  • Go to the application insights of the Function App (if it is not configured - then create one), and try to see the exceptions table. – sheldonzy Aug 08 '21 at 18:51

1 Answers1

1

Thank you sheldonzy. Posting your suggestions as answer to help other community members.

On your function App go to monitor there if application insights is enabled you will see an option of Run Query in Application Insights

enter image description here

Open run query and check exception tables in application insights

enter image description here

SaiSakethGuduru
  • 2,218
  • 1
  • 5
  • 15