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/azure-monitor-agent-custom-text-log-migration.md
+16-11Lines changed: 16 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,24 +5,29 @@ ms.topic: conceptual
5
5
ms.date: 05/09/2023
6
6
---
7
7
8
-
# Migrate from MMA custom text log to AMA DCR based custom text logs
9
-
This article describes the steps to migrate a [MMA Custom text log](data-sources-custom-logs.md) table so you can use it as a destination for a new [AMA custom text logs](data-collection-log-text.md) DCR. When you follow the steps, you won't lose any data. If you're creating a new AMA custom text log table, then this article doesn't pertain to you.
8
+
# Migrate from MMA custom text table to AMA DCR based custom text table
9
+
This article describes the steps to migrate a [MMA Custom text log](data-sources-custom-logs.md) table so you can use it as a destination for a new [AMA custom text logs](data-collection-log-text.md) DCR. If you're creating a new AMA custom text table, then this article doesn't pertain to you.
10
10
11
-
> Note: Once logs are migrated, MMA will not be able to write to the destination table. This is an issue for the migration of production system that we are actively working.
12
-
>
13
11
14
-
## Background
15
-
MMA custom text logs must be configured to support new features in order for AMA custom text log DCRs to write to it. The following actions are taken:
16
-
- The table is reconfigured to enable all DCR-based custom logs features.
17
-
- All MMA custom fields stop updating in the table. AMA can write data to any column in the table.
18
-
- The MMA Custom text log can write to noncustom fields, but it will not be able to create new columns. The portal table management UI can be used to change the schema after migration.
12
+
> [!Warning]
13
+
> Your MMA agents won't be able to write to existing custom tables after migration. If your AMA agent writes to an existing custom table, it is implicitly migrated.
14
+
19
15
20
-
## Migration procedure
16
+
## Background
17
+
You must configure MMA custom text logs to support new DCR features that allow AMA agents to write to it. Take the following actions:
18
+
- Your table is reconfigured to enable all DCR-based custom logs features.
19
+
- Your AMA agents can write data to any column in the table.
20
+
- Your MMA Custom text log will lose the ability to write to the custom log.
21
+
To continue to write you custom data from both MMA and AMA each must have its own custom table. Your data queries in LA that process your data must join the two tables until the migration is complete at which point you can remove the join.
22
+
23
+
## Migration
21
24
You should follow the steps only if the following criteria are true:
22
25
- You created the original table using the Custom Log Wizard.
23
26
- You're going to preserve the existing data in the table.
24
-
- You're going to write new data using and [AMA custom text log DCR](data-collection-log-text.md) and possibly configure an [ingestion time transformation](azure-monitor-agent-transformation.md).
27
+
- You do not need MMA agents to send data to the existing table
28
+
- You're going to exclusively write new data using and [AMA custom text log DCR](data-collection-log-text.md) and possibly configure an [ingestion time transformation](azure-monitor-agent-transformation.md).
25
29
30
+
## Procedure
26
31
1. Configure your data collection rule (DCR) following procedures at [collect text logs with Azure Monitor Agent](data-collection-log-text.md)
27
32
2. Issue the following API call against your existing custom logs table to enable ingestion from Data Collection Rule and manage your table from the portal UI. This call is idempotent and future calls have no effect. Migration is one-way, you can't migrate the table back to MMA.
0 commit comments