You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/logs/guide/azure-logging-guide.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ If you run into any problems during deployment, see [Automated log collection][1
74
74
75
75
Datadog recommends using the Event Hub setup for Azure log collection. However, you can also follow the steps in this section to forward all of your Azure App Services logs from Azure Blob Storage:
76
76
77
-
1. If you haven't already set up [Azure Blob Storage][301], use one of the following methods to get started:
77
+
1. If you haven't already set up [Azure Blob Storage][301], use one of the following methods to get started:
78
78
-[Azure portal][302]
79
79
-[Azure Storage Explorer][303]
80
80
-[Azure CLI][304]
@@ -87,18 +87,18 @@ Datadog recommends using the Event Hub setup for Azure log collection. However,
87
87
If you already have a function app configured for this purpose, skip to [Add a new function to your Function App using the Event Hub trigger template](#add-a-new-function-to-your-function-app-using-the-azure-blob-storage-trigger-template).
88
88
89
89
1. In the Azure portal, navigate to the [Function App overview][309] and click **Create**.
90
-
2. In the **Instance Details** section, configure the following settings:
91
-
a. Select the **Code** radio button
92
-
b. For **Runtime stack**, select `Node.js`
93
-
c. For **Version**, select `18 LTS`.
94
-
d. For **Operating System**, select `Windows`.
90
+
2. In the **Instance Details** section, configure the following settings:
91
+
a. Select the **Code** radio button
92
+
b. For **Runtime stack**, select `Node.js`
93
+
c. For **Version**, select `18 LTS`.
94
+
d. For **Operating System**, select `Windows`.
95
95
3. Configure other settings as desired.
96
96
4. Click **Review + create** to validate the resource. If validation is successful, click **Create**.
97
97
98
98
##### Add a new function to your Function App using the Azure Blob Storage trigger template
99
99
100
100
1. Select your new or existing function app from the [Function App overview][309].
101
-
2. Under the **Functions** tab, click **Create**.
101
+
2. Under the **Functions** tab, click **Create**.
102
102
3. For the **Development environment** field, select **Develop in portal**.
103
103
4. Under **Select a template**, choose [Azure Blob storage trigger][313].
104
104
5. Select your **Storage account connection**.
@@ -111,7 +111,7 @@ See [Getting started with Azure Functions][307] for more information.
111
111
112
112
1. On the detail page of your Event Hub trigger function, click **Code + Test** under the **Developer** side menu.
113
113
2. Add the [Datadog-Azure Function code][308] to the function's `index.js` file.
114
-
3. Add your Datadog API key with a `DD_API_KEY` environment variable, or copy it into the function code by replacing `<DATADOG_API_KEY>` on line 20.
114
+
3. Add your Datadog API key with a `DD_API_KEY` environment variable, or copy it into the function code by replacing `<DATADOG_API_KEY>` on line 20.
115
115
4. If you're not using the Datadog US1 site, set your [Datadog site][312] with a `DD_SITE` environment variable under the configuration tab of your function app, or copy the site parameter into the function code on line 21.
116
116
5.**Save** the function.
117
117
6. Click **Integration** under the **Developer** side menu.
@@ -155,7 +155,7 @@ Under **Settings > Environment variables**, click **Add** to set the following e
155
155
156
156
Archiving logs to Azure Blob Storage requires an App Registration even if you are using the Azure Native integration. To archive logs to Azure Blob Storage, follow the [automatic][7] or [manual][8] setup instructions to configure the integration using an App Registration. App Registrations created for archiving purposes do not need the `Monitoring Reader` role assigned.
157
157
158
-
After configuring an App Registration, you can [create a log archive][3] that writes to Azure Blob Storage.
158
+
After configuring an App Registration, you can [create a log archive][3] that writes to Azure Blob Storage.
159
159
160
160
**Note**: If your storage bucket is in a subscription being monitored through the Azure Native integration, a warning is displayed in the Azure Integration Tile about the App Registration being redundant. You can ignore this warning.
0 commit comments