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
This article explains how to configure logging and where to find information about search service operations.
15
+
16
+
## Enable diagnostic logging
17
+
18
+
Resource logging is available through Azure Monitor. Although some search service activity is reported automatically with no upfront configuration, resource logs about operations and data access require that you create a diagnostic setting and specify a storage option.
19
+
20
+
If you create more than one diagnostic setting, you must have different destinations for each one.
21
+
22
+
1. Sign in to the [Azure portal](https://portal.azure.com) and navigate to your search service.
23
+
24
+
1. Under **Monitoring** > **Diagnostic settings**, select **Add diagnostic setting**.
25
+
26
+
1. Provide a name that identifies the service and level of logging, such as "my-search-service-all-logs" or "my-search-service-audit-logs".
27
+
28
+
1. Under **Logs**, choose a category:
29
+
30
+
-**audit** to capture information about user and group identity access to content and operations
31
+
-**Operation Logs** to capture information about operations on a search service.
32
+
-**allLogs** to collect everything.
33
+
34
+
Verbose logging can be expensive to store and complex to manage and store. You might want to start with **allLogs** and then switch to more scoped logging if it meets your information requirements.
35
+
36
+
1. For a destination, we recommend **Send to Log Analytics workspace** so that you can run Kusto queries against the data.
37
+
38
+
1. Save the settings.
15
39
16
40
> [!NOTE]
17
-
> Azure AI Search doesn't monitor individual user access to content on the search service. If you require this level of monitoring, you need to implement it in your client application.
41
+
> If you're using [key-based authentication](search-security-api-keys.md), Azure AI Search can't monitor individual user access to content on the search service. If you require this level of monitoring, you need to implement it in your client application.
@@ -35,6 +59,8 @@ For the available resource log categories, their associated Log Analytics tables
35
59
36
60
In Azure AI Search, activity logs reflect control plane activity such as service creation and configuration, or API key usage or management. Entries often include **Get Admin Key**, one entry for every call that [provided an admin API key](search-security-api-keys.md) on the request. There are no details about the call itself, just a notification that the admin key was used.
37
61
62
+
API keys can be disabled for data plane operations, such as creating or querying an index, but on the control plane they're used in the Azure portal to return service information.
63
+
38
64
The following screenshot shows Azure AI Search activity log signals you can configure in an alert.
39
65
40
66
:::image type="content" source="media/search-monitor-usage/activity-log-signals.png" alt-text="Screenshot of the activity log signals that can be used in an alert." border="true":::
Copy file name to clipboardExpand all lines: articles/search/search-manage.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,7 +98,7 @@ Some features add to the cost of running the service:
98
98
99
99
### Enable diagnostic logging
100
100
101
-
[Enable diagnostic logging](monitor-azure-cognitive-search.md) to track user activity. If you skip this step, you still get [activity logs](/azure/azure-monitor/essentials/activity-log) and [platform metrics](/azure/azure-monitor/essentials/data-platform-metrics#types-of-metrics) automatically, but if you want index and query usage information, you should enable diagnostic logging and choose a destination for logged operations.
101
+
[Enable diagnostic logging](monitor-azure-cognitive-search.md#enable-diagnostic-logging) to track user activity. If you skip this step, you still get [activity logs](/azure/azure-monitor/essentials/activity-log) and [platform metrics](/azure/azure-monitor/essentials/data-platform-metrics#types-of-metrics) automatically, but if you want index and query usage information, you should enable diagnostic logging and choose a destination for logged operations.
102
102
103
103
We recommend Log Analytics Workspace for durable storage so that you can run system queries in the Azure portal.
Copy file name to clipboardExpand all lines: articles/search/vector-search-how-to-configure-vectorizer.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ Vectorizers are now generally available as long as you use a generally available
34
34
35
35
+[Visual Studio Code](https://code.visualstudio.com/download) with a [REST client](https://marketplace.visualstudio.com/items?itemName=humao.rest-client) to send the query and accept a response.
36
36
37
-
We recommend that you enable diagnostic logging on your search service to confirm vector query execution.
37
+
We recommend that you [enable diagnostic logging](monitor-azure-cognitive-search.md#enable-diagnostic-logging) on your search service to confirm vector query execution.
0 commit comments