Skip to content

Commit 8218228

Browse files
takashiddpetems
authored andcommitted
remove manual instruction from azure logging guide (#30711)
1 parent 2f61415 commit 8218228

File tree

4 files changed

+66
-531
lines changed

4 files changed

+66
-531
lines changed

content/en/logs/guide/azure-logging-guide.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ If you run into any problems during deployment, see [Automated log collection][1
7474

7575
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:
7676

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:
7878
- [Azure portal][302]
7979
- [Azure Storage Explorer][303]
8080
- [Azure CLI][304]
@@ -87,18 +87,18 @@ Datadog recommends using the Event Hub setup for Azure log collection. However,
8787
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).
8888

8989
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`.
9595
3. Configure other settings as desired.
9696
4. Click **Review + create** to validate the resource. If validation is successful, click **Create**.
9797

9898
##### Add a new function to your Function App using the Azure Blob Storage trigger template
9999

100100
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**.
102102
3. For the **Development environment** field, select **Develop in portal**.
103103
4. Under **Select a template**, choose [Azure Blob storage trigger][313].
104104
5. Select your **Storage account connection**.
@@ -111,7 +111,7 @@ See [Getting started with Azure Functions][307] for more information.
111111

112112
1. On the detail page of your Event Hub trigger function, click **Code + Test** under the **Developer** side menu.
113113
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.
115115
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.
116116
5. **Save** the function.
117117
6. Click **Integration** under the **Developer** side menu.
@@ -155,7 +155,7 @@ Under **Settings > Environment variables**, click **Add** to set the following e
155155

156156
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.
157157

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.
159159

160160
**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.
161161

0 commit comments

Comments
 (0)