Skip to content

Commit d592abf

Browse files
Merge pull request #236697 from guywi-ms/patch-55
Update data-sources-custom-logs.md
2 parents c39d65b + 3b35603 commit d592abf

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

articles/azure-monitor/agents/data-sources-custom-logs.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
title: Collect text logs with the Log Analytics agent in Azure Monitor
33
description: Azure Monitor can collect events from text files on both Windows and Linux computers. This article describes how to define a new custom log and details of the records they create in Azure Monitor.
44
ms.topic: conceptual
5-
author: bwren
6-
ms.author: bwren
7-
ms.date: 02/07/2022
8-
ms.reviewer: shseth
5+
author: guywi-ms
6+
ms.author: guywild
7+
ms.date: 05/03/2023
8+
ms.reviewer: luki
99

1010
---
1111

@@ -43,18 +43,19 @@ A Log Analytics workspace supports the following limits:
4343
>[!IMPORTANT]
4444
>Custom log collection requires that the application writing the log file flushes the log content to the disk periodically. This is because the custom log collection relies on filesystem change notifications for the log file being tracked.
4545
46-
## Define a custom log
46+
## Define a custom log table
4747

48-
Use the following procedure to define a custom log file. Scroll to the end of this article for a walkthrough of a sample of adding a custom log.
48+
Use the following procedure to define a custom log table. Scroll to the end of this article for a walkthrough of a sample of adding a custom log.
4949

5050
### Open the Custom Log wizard
5151

5252
The Custom Log wizard runs in the Azure portal and allows you to define a new custom log to collect.
5353

54-
1. In the Azure portal, select **Log Analytics workspaces** > your workspace.
55-
1. Under the **Classic** section, select **Legacy custom logs**.
56-
1. By default, all configuration changes are automatically pushed to all agents. For Linux agents, a configuration file is sent to the Fluentd data collector.
57-
1. Select **Add** to open the Custom Log wizard.
54+
1. In the Azure portal, select **Log Analytics workspaces** > your workspace > **Tables**.
55+
1. Select **Create** and then **New custom log (MMA-based)**.
56+
57+
By default, all configuration changes are automatically pushed to all agents. For Linux agents, a configuration file is sent to the Fluentd data collector.
58+
5859

5960
### Upload and parse a sample log
6061

@@ -66,7 +67,9 @@ If a timestamp delimiter is used, the TimeGenerated property of each record stor
6667

6768
1. Select **Browse** and browse to a sample file. This button might be labeled **Choose File** in some browsers.
6869
1. Select **Next**.
69-
1. The Custom Log wizard uploads the file and lists the records that it identifies.
70+
71+
The Custom Log wizard uploads the file and lists the records that it identifies.
72+
7073
1. Change the delimiter that's used to identify a new record. Select the delimiter that best identifies the records in your log file.
7174
1. Select **Next**.
7275

@@ -110,12 +113,9 @@ After Azure Monitor starts collecting from the custom log, its records will be a
110113

111114
The entire log entry will be stored in a single property called **RawData**. You'll most likely want to separate the different pieces of information in each entry into individual properties for each record. For options on parsing **RawData** into multiple properties, see [Parse text data in Azure Monitor](../logs/parse-text.md).
112115

113-
## Remove a custom log
114-
115-
Use the following process in the Azure portal to remove a custom log that you previously defined.
116+
## Delete a custom log table
116117

117-
1. On the left, under the **Classic** section for your workspace, select **Legacy custom Logs** to list all your custom logs.
118-
1. Select **Remove** next to the custom log to remove the log.
118+
See [Delete a table](../logs/create-custom-table.md#delete-a-table).
119119

120120
## Data collection
121121

articles/azure-monitor/logs/create-custom-table.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ To create a custom table, you need:
3939
Azure tables have predefined schemas. To store log data in a different schema, use data collection rules to define how to collect, transform, and send the data to a custom table in your Log Analytics workspace.
4040

4141
> [!NOTE]
42-
> For information about creating a custom table for logs you ingest with the deprecated Log Analytics agent, also known as MMA or OMS, see [Collect text logs with the Log Analytics agent](../agents/data-sources-custom-logs.md#define-a-custom-log).
42+
> For information about creating a custom table for logs you ingest with the deprecated Log Analytics agent, also known as MMA or OMS, see [Collect text logs with the Log Analytics agent](../agents/data-sources-custom-logs.md#define-a-custom-log-table).
4343

4444
# [Portal](#tab/azure-portal-1)
4545

0 commit comments

Comments
 (0)