Skip to content

Commit 3381add

Browse files
authored
Merge pull request #103588 from MarkHeff/updatelogging
Update logging instructions
2 parents 3130fa5 + 54f9f8a commit 3381add

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed
11 KB
Loading

articles/search/search-monitor-usage.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,19 +72,21 @@ In this section, you'll learn how to use Blob storage to store logged events and
7272

7373
Your storage account must exist in the same region as Azure Cognitive Search.
7474

75-
2. Open your search service Overview page. In the left-navigation pane, scroll down to **Monitoring** and click **Enable Monitoring**.
75+
2. Open your search service Overview page. In the left-navigation pane, scroll down to **Monitoring** and click **Diagnostic settings**.
7676

77-
![Enable monitoring](./media/search-monitor-usage/enable-monitoring.png "Enable monitoring")
77+
![Diagnostic settings](./media/search-monitor-usage/diagnostic-settings.png "Diagnostic settings")
7878

79-
3. Choose the data you want to export: Logs, Metrics or both. You can copy it to a storage account, send it to an event hub or export it to Azure Monitor logs.
79+
3. Select **Add diagnostic setting**
80+
81+
4. Choose the data you want to export: Logs, Metrics or both. You can copy it to a storage account, send it to an event hub or export it to Azure Monitor logs.
8082

8183
For archival to Blob storage, only the storage account must exist. Containers and blobs will be created as-needed when log data is exported.
8284

8385
![Configure blob storage archive](./media/search-monitor-usage/configure-blob-storage-archive.png "Configure blob storage archive")
8486

85-
4. Save the profile.
87+
5. Save the profile
8688

87-
5. Test logging by creating or deleting objects (creates log events) and by submitting queries (generates metrics).
89+
6. Test logging by creating or deleting objects (creates log events) and by submitting queries (generates metrics).
8890

8991
Logging is enabled once you save the profile. Containers are only created when there is an activity to log or measure. When the data is copied to a storage account, the data is formatted as JSON and placed in two containers:
9092

0 commit comments

Comments
 (0)