Skip to content

Commit efe012d

Browse files
Merge pull request #88255 from bwren/am-simple-log
Azure Monitor simple logs
2 parents c069897 + 774eb62 commit efe012d

File tree

3 files changed

+54
-5
lines changed

3 files changed

+54
-5
lines changed

.openpublishing.redirection.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37733,11 +37733,6 @@
3773337733
"redirect_url": "/azure/azure-monitor/platform/diagnostic-logs-stream-log-store",
3773437734
"redirect_document_id": false
3773537735
},
37736-
{
37737-
"source_path": "articles/azure-monitor/log-query/simple-logs.md",
37738-
"redirect_url": "/azure/azure-monitor/log-query/log-query-overview",
37739-
"redirect_document_id": false
37740-
},
3774137736
{
3774237737
"source_path": "articles/azure-monitor/log-query/runbook-datacollect.md",
3774337738
"redirect_url": "/azure/azure-monitor/platform/data-collector-api",
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
title: Simple Logs experience in Azure Monitor (Preview) | Microsoft Docs
3+
description: The Simple Logs experience allows you to create basic queries in Azure Monitor without directly interacting with KQL.
4+
services: log-analytics
5+
documentationcenter: ''
6+
author: bwren
7+
manager: carmonm
8+
editor: ''
9+
ms.assetid:
10+
ms.service: log-analytics
11+
ms.workload: na
12+
ms.tgt_pltfrm: na
13+
ms.topic: conceptual
14+
ms.date: 09/12/2019
15+
ms.author: bwren
16+
---
17+
18+
# Simple Logs experience in Azure Monitor (Preview)
19+
Azure Monitor provides a [rich experience](get-started-portal.md) for creating [log queries](log-query-overview.md) using the KQL language. You may not require the full power of KQL though and prefer a simplified experience for basic query requirements. The Simple Logs experience allows you to create basic queries without directly interacting with KQL. You can also use Simple Logs as a learning tool for KQL as you require more sophisticated queries.
20+
21+
> [!NOTE]
22+
> Simple Logs is currently implemented as a test for only Cosmos DB and Key Vaults. Please share your experience with Microsoft through [User Voice](https://feedback.azure.com/forums/913690-azure-monitor) to help us determine whether we will expand and release this feature.
23+
24+
25+
## Scope
26+
The Simple Logs experience retrieves data from the *AzureDiagnostics*, *AzureMetrics*, and *AzureActivity* table for the selected resource.
27+
28+
## Using Simple Logs
29+
Navigate to any Cosmos DB or Key Vault in your Azure subscription with [diagnostic settings configured to collect logs in a Log Analytics workspace](../platform/diagnostic-logs-stream-log-store.md). Click **Logs** in the **Monitoring** menu to open the Simple Logs experience.
30+
31+
![Menu](media/simple-logs/menu.png)
32+
33+
Select a **Field** and an **Operator** and specify a **Value** for comparison. Click **+** and specify **And/Or** to add additional criteria.
34+
35+
![Criteria](media/simple-logs/criteria.png)
36+
37+
Click **Run** to view the query results.
38+
39+
## View and edit KQL
40+
Select **Query editor** to open the KQL generated by the Simple Logs query in the full Log Analytics experience.
41+
42+
![Query editor](media/simple-logs/query-editor.png)
43+
44+
You can directly edit the KQL and use other features in Log Analytics such as filters to further refine your results.
45+
46+
![Edit KQL](media/simple-logs/edit-kql.png)
47+
48+
49+
## Next steps
50+
51+
- Complete a tutorial on [using Log Analytics in the Azure portal](get-started-portal.md).
52+
- Complete a tutorial on [writing log queries](get-started-portal.md).

articles/azure-monitor/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -762,6 +762,8 @@
762762
- name: Log query overview
763763
displayname: log query, log queries, query, queries
764764
href: log-query/log-query-overview.md
765+
- name: Simple logs experience
766+
href: log-query/simple-logs.md
765767
- name: Tutorials
766768
items:
767769
- name: Log Analytics tutorial

0 commit comments

Comments
 (0)