Skip to content
This repository was archived by the owner on Dec 19, 2025. It is now read-only.
This repository was archived by the owner on Dec 19, 2025. It is now read-only.

Create Log Analytics Workspace for Application Insights #98

@sseehra

Description

@sseehra

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions