Skip to content

Commit bfae9ee

Browse files
Merge pull request #284598 from gardnerjr/users/jgardner/addBasicLogs
add basic logs initial info
2 parents 12e86c1 + c3bab0d commit bfae9ee

File tree

2 files changed

+35
-18
lines changed

2 files changed

+35
-18
lines changed

articles/azure-monitor/logs/query-audit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ An audit record is created each time a query is run. If you send the data to a L
6262
|:---|:---|
6363
|AAPBI|[Log Analytics integration with Power BI](../logs/log-powerbi.md).|
6464
|AppAnalytics|Experiences of Log Analytics in the Azure portal.|
65-
|AppInsightsPortalExtension|[Workbooks](../visualize/workbooks-data-sources.md#logs) or [Application insights](../app/app-insights-overview.md).|
65+
|AppInsightsPortalExtension|[Workbooks](../visualize/workbooks-data-sources.md#logs-analytics-tables-application-insights) or [Application insights](../app/app-insights-overview.md).|
6666
|ASC_Portal|Microsoft Defender for Cloud.|
6767
|ASI_Portal|Sentinel.|
6868
|AzureAutomation|[Azure Automation.](../../automation/overview.md)|

articles/azure-monitor/visualize/workbooks-data-sources.md

Lines changed: 34 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,16 @@ author: AbbyMSFT
66
ms.author: abbyweisberg
77
ms.topic: conceptual
88
ms.custom: devx-track-arm-template
9-
ms.date: 06/21/2023
9+
ms.date: 08/14/2024
1010
ms.reviewer: gardnerjr
1111
---
1212

1313
# Azure Workbooks data sources
1414

1515
Workbooks can extract data from these data sources:
1616

17-
- [Logs](#logs)
17+
- [Logs (Analytics Tables, Application Insights)](#logs-analytics-tables-application-insights)
18+
- [Logs (Basic, Auxiliary Tables)](#logs-basic-and-auxiliary-tables)
1819
- [Metrics](#metrics)
1920
- [Azure Resource Graph](#azure-resource-graph)
2021
- [Azure Resource Manager](#azure-resource-manager)
@@ -28,11 +29,11 @@ Workbooks can extract data from these data sources:
2829
- [Change Analysis](#change-analysis)
2930
- [Prometheus](#prometheus)
3031

31-
## Logs
32+
## Logs (Analytics Tables, Application Insights)
3233

33-
With workbooks, you can query logs from the following sources:
34+
With workbooks, you can use the `Logs (Analytics)` data source query logs from the following sources:
3435

35-
* Azure Monitor Logs (Application Insights resources and Log Analytics workspaces)
36+
* Azure Monitor Logs (Application Insights resources and Log Analytics workspaces analytics tables)
3637
* Resource-centric data (activity logs)
3738

3839
You can use Kusto query language (KQL) queries that transform the underlying resource data to select a result set that can be visualized as text, charts, or grids.
@@ -47,6 +48,22 @@ See also: [Workbooks best practices and hints for logs queries](workbooks-create
4748

4849
Tutorial: [Making resource centric log queries in workbooks](workbooks-create-workbook.md#tutorial---resource-centric-logs-queries-in-workbooks)
4950

51+
## Logs (Basic and Auxiliary Tables)
52+
53+
Workbooks also supports querying Log Analytics Basic and Auxiliary tables through a separate `Logs (Basic)` data source. Basic and Auxiliary logs tables reduce the cost of ingesting high-volume verbose logs and let you query the data they store with some limitations.
54+
55+
56+
> [!NOTE]
57+
> Basic and Auxiliary logs and the workbook `Logs (Basic)` data source have limitations compared to the `Log (Analytics)` data source, most notably
58+
> * *Extra cost*, including per-query costs. See [Azure Monitor pricing](https://azure.microsoft.com/pricing/details/monitor/) for details.
59+
> * Basic logs does not support the full KQL language
60+
> * Basic logs only operates on single Log Analyics Workspace, it does not have cross-resource or resource centric query support.
61+
> * Basic logs does not support "set in query" style time ranges, an explicit time range (or parameter) must be specified.
62+
63+
For a full list of details and limitations, see [Query data in a Basic and Auxiliary table in Azure Monitor Logs](../logs/basic-logs-query.md)
64+
65+
See also: [Log Analytics query optimization tips](../logs/query-optimization.md)
66+
5067
## Metrics
5168

5269
Azure resources emit [metrics](../essentials/data-platform-metrics.md) that can be accessed via workbooks. Metrics can be accessed in workbooks through a specialized control that allows you to specify the target resources, the desired metrics, and their aggregation. You can then plot this data in charts or grids.
@@ -59,22 +76,22 @@ Azure resources emit [metrics](../essentials/data-platform-metrics.md) that can
5976

6077
Workbooks support querying for resources and their metadata by using Azure Resource Graph. This functionality is primarily used to build custom query scopes for reports. The resource scope is expressed via a KQL subset that Resource Graph supports, which is often sufficient for common use cases.
6178

62-
To make a query control that uses this data source, use the **Query type** dropdown and select **Azure Resource Graph**. Then select the subscriptions to target. Use **Query control** to add the Resource Graph KQL subset that selects an interesting resource subset.
79+
To make a query control that uses this data source, use the **Query type** dropdown and select **Azure Resource Graph**. Then choose at which level of data you wish to target, either Subscriptions, Management groups, or the entire Tenant/Directory. Then select the subscriptions to target. Use **Query control** to add the Resource Graph KQL query that selects an interesting resource subset.
6380
<!-- convertborder later -->
6481
:::image type="content" source="./media/workbooks-data-sources/azure-resource-graph.png" lightbox="./media/workbooks-data-sources/azure-resource-graph.png" alt-text="Screenshot that shows an Azure Resource Graph KQL query." border="false":::
6582

6683
## Azure Resource Manager
6784

6885
Azure Workbooks supports Azure Resource Manager REST operations so that you can query the management.azure.com endpoint without providing your own authorization header token.
6986

70-
To make a query control that uses this data source, use the **Data source** dropdown and select **Azure Resource Manager**. Provide the appropriate parameters, such as **Http method**, **url path**, **headers**, **url parameters**, and **body**. Azure Resource Manager data source is intended to be used as a data source to power data *visualizations*; as such, it does not support `PUT` or `PATCH` operations. The data source supports the following HTTP methods, with these expecations and limitations:
87+
To make a query control that uses this data source, use the **Data source** dropdown and select **Azure Resource Manager**. Provide the appropriate parameters, such as **Http method**, **url path**, **headers**, **url parameters**, and **body**. Azure Resource Manager data source is intended to be used as a data source to power data *visualizations*; as such, it does not support `PUT` or `PATCH` operations. The data source supports the following HTTP methods, with these expecations and limitations:
7188

7289
* `GET` - the most common operation for visualization, execute a query and parse the `JSON` result using settings in the "Result Settings" tab.
73-
* `GETARRAY` - for ARM APIs that may return multiple "pages" of results using the ARM standard `nextLink` or `@odata.nextLink` style response (See [Async operations, throttling, and paging](/rest/api/azure/#async-operations-throttling-and-paging), this method will make followup calls to the API for each `nextLink`, and merge those results into an array of results.
90+
* `GETARRAY` - for ARM APIs that may return multiple "pages" of results using the ARM standard `nextLink` or `@odata.nextLink` style response (See [Async operations, throttling, and paging](/rest/api/azure/#async-operations-throttling-and-paging), this method makes followup calls to the API for each `nextLink` result, and merge those results into an array of results.
7491
* `POST` - This method is used for APIs that pass information in a POST body.
7592

7693
> [!NOTE]
77-
> The Azure Resource Manager data source only supports results that return a 200 `OK` response, indicating the result is synchronous. APIs returning asynchronous results with 202 `ACCEPTED` asynchronous result and a header with a result URL are not supported.
94+
> The Azure Resource Manager data source only supports results that return a 200 `OK` response, indicating the result is synchronous. APIs returning asynchronous results with 202 `ACCEPTED` asynchronous result and a header with a result URL are not supported.
7895
7996
## Azure Data Explorer
8097

@@ -87,7 +104,7 @@ See also: [Azure Data Explorer query best practices](/azure/data-explorer/kusto/
87104

88105
## JSON
89106

90-
The JSON provider allows you to create a query result from static JSON content. It's most commonly used in parameters to create dropdown parameters of static values. Simple JSON arrays or objects will automatically be converted into grid rows and columns. For more specific behaviors, you can use the **Results** tab and JSONPath settings to configure columns.
107+
The JSON provider allows you to create a query result from static JSON content. It's most commonly used in parameters to create dropdown parameters of static values. Simple JSON arrays or objects are converted into grid rows and columns. For more specific behaviors, you can use the **Results** tab and JSONPath settings to configure columns.
91108

92109
> [!NOTE]
93110
> Do *not* include sensitive information in fields like headers, parameters, body, and URL, because they'll be visible to all the workbook users.
@@ -98,15 +115,15 @@ This provider supports [JSONPath](workbooks-jsonpath.md).
98115

99116
Merging data from different sources can enhance the insights experience. An example is augmenting active alert information with related metric data. Merging data allows users to see not just the effect (an active alert) but also potential causes, for example, high CPU usage. The monitoring domain has numerous such correlatable data sources that are often critical to the triage and diagnostic workflow.
100117

101-
With workbooks, you can query different data sources. Workbooks also provide simple controls that you can use to merge or join data to provide rich insights. The *merge* control is the way to achieve it. A single merge data source can do many merges in one step. For example, a *single* merge data source can merge results from a step using Azure Resource Graph with Azure Metrics, and then merge that result with another step using the Azure Resource Manager data source in one query item.
118+
With workbooks, you can query different data sources. Workbooks also provide simple controls that you can use to merge or join data to provide rich insights. The *merge* control is the way to achieve it. A single merge data source can do many merges in one step. For example, a *single* merge data source can merge results from a step using Azure Resource Graph with Azure Metrics, and then merge that result with another step using the Azure Resource Manager data source in one query item.
102119

103120
> [!NOTE]
104121
> Although hidden query and metrics steps run if they're referenced by a merge step, hidden query items that use the merge data source don't run while hidden.
105122
> A step that uses merge and attempts to reference a hidden step by using merge data source won't run until that hidden step becomes visible.
106-
> A single merge step can merge many data sources at once. There's rarely a case where a merge data source will reference another merge data source.
123+
> A single merge step can merge many data sources at once. There's rarely a case where a merge data source will reference another merge data source.
107124
108125

109-
### Combine alerting data with Log Analytics VM performance data
126+
### Combine alerting data with Log Analytics Virtual Machine (VM) performance data
110127

111128
The following example combines alerting data with Log Analytics VM performance data to get a rich insights grid.
112129
<!-- convertborder later -->
@@ -142,13 +159,13 @@ Workbooks support getting data from any external source. If your data lives outs
142159

143160
To make a query control that uses this data source, use the **Data source** dropdown and select **Custom Endpoint**. Provide the appropriate parameters, such as **Http method**, **url**, **headers**, **url parameters**, and **body**. Make sure your data source supports [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS). Otherwise, the request will fail.
144161

145-
To avoid automatically making calls to untrusted hosts when you use templates, you need to mark the used hosts as trusted. You can either select **Add as trusted** or add it as a trusted host in workbook settings. These settings will be saved in [browsers that support IndexDb with web workers](https://caniuse.com/#feat=indexeddb).
162+
To avoid automatically making calls to untrusted hosts when you use templates, you need to mark the used hosts as trusted. You can either select **Add as trusted** or add it as a trusted host in workbook settings. These settings are saved locally in [browsers that support IndexDb with web workers](https://caniuse.com/#feat=indexeddb).
146163

147164
This provider supports [JSONPath](workbooks-jsonpath.md).
148165

149166
## Workload health
150167

151-
Azure Monitor has functionality that proactively monitors the availability and performance of Windows or Linux guest operating systems. Azure Monitor models key components and their relationships, criteria for how to measure the health of those components, and which components alert you when an unhealthy condition is detected. With workbooks, you can use this information to create rich interactive reports.
168+
Azure Monitor has functionality that proactively monitors the availability and performance of Windows or Linux guest operating systems. Azure Monitor models key components and their relationships, criteria for how to measure the health of those components, and can alert you when an unhealthy condition is detected. With workbooks, you can use this information to create rich interactive reports.
152169

153170
To make a query control that uses this data source, use the **Query type** dropdown to select **Workload Health**. Then select subscription, resource group, or VM resources to target. Use the health filter dropdowns to select an interesting subset of health incidents for your analytic needs.
154171
<!-- convertborder later -->
@@ -164,9 +181,9 @@ To make a query control that uses this data source, use the **Query type** dropd
164181

165182
## Azure RBAC
166183

167-
The Azure role-based access control (RBAC) provider allows you to check permissions on resources. It's most commonly used in parameters to check if the correct RBACs are set up. A use case would be to create a parameter to check deployment permission and then notify the user if they don't have deployment permission.
184+
The Azure role-based access control (RBAC) provider allows you to check permissions on resources. It's can be used in parameters to check if the correct RBACs are set up. A use case would be to create a parameter to check deployment permission and then notify the user if they don't have deployment permission.
168185

169-
Simple JSON arrays or objects will automatically be converted into grid rows and columns or text with a `hasPermission` column with either true or false. The permission is checked on each resource and then either `or` or `and` to get the result. The [operations or actions](../../role-based-access-control/resource-provider-operations.md) can be a string or an array.
186+
Simple JSON arrays or objects are converted into grid rows and columns or text with a `hasPermission` column with either true or false. The permission is checked on each resource and then either `or` or `and` to get the result. The [operations or actions](../../role-based-access-control/resource-provider-operations.md) can be a string or an array.
170187

171188
**String:**
172189
```

0 commit comments

Comments
 (0)