Skip to content

Commit fdf043b

Browse files
committed
Prepped for publish
1 parent d09b25f commit fdf043b

File tree

4 files changed

+21
-63
lines changed

4 files changed

+21
-63
lines changed

articles/search/TOC.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,6 @@
323323
items:
324324
- name: Fundamentals
325325
href: search-monitor-usage.md
326-
- name: Monitor indexing
327-
href: search-monitor-indexing.md
328326
- name: Monitor query activity
329327
href: search-monitor-queries.md
330328
- name: Diagnostic logging

articles/search/search-monitor-indexing.md

Lines changed: 0 additions & 51 deletions
This file was deleted.

articles/search/search-monitor-logs.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ If you are using Log Analytics or Azure Storage, you can create resources in adv
3535

3636
+ [Create a storage account](https://docs.microsoft.com/azure/storage/common/storage-quickstart-create-account) if you require a log archive.
3737

38-
## Create a diagnostic setting
38+
## Create a log
3939

40-
Each setting specifies how and what is collected. Besides storage, you can choose whether to collect operational logs, metrics, or both.
40+
Diagnostic settings define data collection. A setting specifies how and what is collected.
4141

4242
1. Under **Monitoring**, select **Diagnostic settings**.
4343

@@ -76,9 +76,11 @@ Data structures that contain Azure Cognitive Search log data conform to the sche
7676

7777
For Blob storage, each blob has one root object called **records** containing an array of log objects. Each blob contains records for all the operations that took place during the same hour.
7878

79+
The following table is a partial list of fields common to diagnostic logging.
80+
7981
| Name | Type | Example | Notes |
8082
| --- | --- | --- | --- |
81-
| time |datetime |"2018-12-07T00:00:43.6872559Z" |Timestamp of the operation |
83+
| timeGenerated |datetime |"2018-12-07T00:00:43.6872559Z" |Timestamp of the operation |
8284
| resourceId |string |"/SUBSCRIPTIONS/11111111-1111-1111-1111-111111111111/<br/>RESOURCEGROUPS/DEFAULT/PROVIDERS/<br/> MICROSOFT.SEARCH/SEARCHSERVICES/SEARCHSERVICE" |Your ResourceId |
8385
| operationName |string |"Query.Search" |The name of the operation |
8486
| operationVersion |string |"2019-05-06" |The api-version used |
@@ -88,14 +90,16 @@ For Blob storage, each blob has one root object called **records** containing an
8890
| durationMS |int |50 |Duration of the operation in milliseconds |
8991
| properties |object |see the following table |Object containing operation-specific data |
9092

91-
**Properties schema**
93+
### Properties schema
94+
95+
The properties below are specific to Azure Cognitive Search.
9296

9397
| Name | Type | Example | Notes |
9498
| --- | --- | --- | --- |
95-
| Description |string |"GET /indexes('content')/docs" |The operation's endpoint |
96-
| Query |string |"?search=AzureSearch&$count=true&api-version=2019-05-06" |The query parameters |
97-
| Documents |int |42 |Number of documents processed |
98-
| IndexName |string |"test-index" |Name of the index associated with the operation |
99+
| Description_s |string |"GET /indexes('content')/docs" |The operation's endpoint |
100+
| Documents_d |int |42 |Number of documents processed |
101+
| IndexName_s |string |"test-index" |Name of the index associated with the operation |
102+
| Query_s |string |"?search=AzureSearch&$count=true&api-version=2019-05-06" |The query parameters |
99103

100104
## Metrics schema
101105

@@ -113,7 +117,7 @@ Metrics are captured for query requests and measured in one minute intervals. Ev
113117
| count |int |4 |The number of metrics emitted from a node to the log within the one minute interval. |
114118
| timegrain |string |"PT1M" |The time grain of the metric in ISO 8601. |
115119

116-
It's common for queries to execute in milliseconds, so only queries that measure as seconds will appear in metrics.
120+
It's common for queries to execute in milliseconds, so only queries that measure as seconds will appear in metric like QPS.
117121

118122
For the **Search Queries Per Second** metric, minimum is the lowest value for search queries per second that was registered during that minute. The same applies to the maximum value. Average, is the aggregate across the entire minute. For example, within one minute, you might have a pattern like this: one second of high load that is the maximum for SearchQueriesPerSecond, followed by 58 seconds of average load, and finally one second with only one query, which is the minimum.
119123

articles/search/search-monitor-usage.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,14 @@ AzureDiagnostics
100100
| render timechart
101101
```
102102

103-
In contrast with queries which are not saved on your search service, you can call search service APIs directly to return information about objects on the service. For more information, see [Monitor indexing](search-monitor-indexing.md).
103+
### Use search APIs
104+
105+
Both the Azure Cognitive Search REST API and the .NET SDK provide programmatic access to service metrics, index and indexer information, and document counts.
106+
107+
+ [GET Service Statistics](/rest/api/searchservice/get-service-statistics)
108+
+ [GET Index Statistics](/rest/api/searchservice/get-index-statistics)
109+
+ [GET Document Counts](/rest/api/searchservice/count-documents)
110+
+ [GET Indexer Status](/rest/api/searchservice/get-indexer-status)
104111

105112
## Monitor user access
106113

0 commit comments

Comments
 (0)