John Little
John Little

Reputation: 12343

"n.split is not a function" when trying to setup application insights monitoring for Azure Function App

I am trying to find a way to see log output for a production azure function. If I click on "setup" for logs/monitoring I get this:

enter image description here

Hitting configure gives this:

enter image description here

Upvotes: 1

Views: 124

Answers (1)

AnuragSingh-MSFT
AnuragSingh-MSFT

Reputation: 181

This might happen when either "Application Insights" is not configured for this Function App Or the one which was configured was deleted.

To verify it, on Azure Portal go to your "Function App" --> "Application Insights (under Settings)" --> check if it says that "Your app is connected to resource: [AppInsights Resource Name]".

If the AppInsights resource is configured for the Function App, check if the logs in AppInsights have entries from recent times (to ensure that captured telemetry is getting ingested in here)

In case this does not resolve the issue, I would suggest reaching out to Microsoft Azure Support so that it can be investigated from backend.

Upvotes: 1

Related Questions