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
Copy file name to clipboardExpand all lines: articles/azure-monitor/agents/data-sources-custom-logs.md
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,10 @@
2
2
title: Collect text logs with the Log Analytics agent in Azure Monitor
3
3
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.
4
4
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
9
9
10
10
---
11
11
@@ -43,18 +43,19 @@ A Log Analytics workspace supports the following limits:
43
43
>[!IMPORTANT]
44
44
>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.
45
45
46
-
## Define a custom log
46
+
## Define a custom log table
47
47
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.
49
49
50
50
### Open the Custom Log wizard
51
51
52
52
The Custom Log wizard runs in the Azure portal and allows you to define a new custom log to collect.
53
53
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
+
58
59
59
60
### Upload and parse a sample log
60
61
@@ -66,7 +67,9 @@ If a timestamp delimiter is used, the TimeGenerated property of each record stor
66
67
67
68
1. Select **Browse** and browse to a sample file. This button might be labeled **Choose File** in some browsers.
68
69
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
+
70
73
1. Change the delimiter that's used to identify a new record. Select the delimiter that best identifies the records in your log file.
71
74
1. Select **Next**.
72
75
@@ -110,12 +113,9 @@ After Azure Monitor starts collecting from the custom log, its records will be a
110
113
111
114
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).
112
115
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
116
117
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).
Copy file name to clipboardExpand all lines: articles/azure-monitor/logs/create-custom-table.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
@@ -39,7 +39,7 @@ To create a custom table, you need:
39
39
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.
40
40
41
41
> [!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).
0 commit comments