Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Log Analytics Workspace for Application Insights #98

Open
sunny2895 opened this issue Mar 3, 2022 · 0 comments
Open

Create Log Analytics Workspace for Application Insights #98

sunny2895 opened this issue Mar 3, 2022 · 0 comments

Comments

@sunny2895
Copy link

Some Azure regions (e.g.: Canada East) do not support the "Classic" resource mode for Application Insights. They only support "Workspace-Based" resource mode. In order to enable this, the following needs to be changed in the file ""

-A Log Analytics Workspace needs to be created first, as part of the deployment. (not sure how to do this, or I would update this code myself)

-In the file "fortigate-autoscale-azure/templates/link_template.function_app.json", the following needs to be changed:
-The "apiVersion" needs to be changed from " 2018-05-01-preview" to "2020-02-02" (line 148 & 181)
-2 additional properties need to be set for the Application Insights deployment in the which are:
-"WorkspaceResourceId" (the ID of the Log Analytics Workspace, once created), and
-"IngestionMode", which needs to be set to "Log Analytics".

-In the file "fortigate-autoscale-azure/templates/link_template.function_app.configuration.json", the following needs to be changed:
-The "apiVersion" needs to be changed from " 2018-05-01-preview" to "2020-02-02" (line 149)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant