Azure Monitor agent Migration

Racheal 6 Reputation points
2024-03-07T14:11:11.7266667+00:00

Hi ,

we are in the process of Migrating from Log analytics agent to AMA .

I have followed the instructions as mentioned here https://learn.microsoft.com/en-us/azure/azure-monitor/agents/azure-monitor-agent-migration

Generated DCR rules and deployed it . we are using VM insights solution and that's also using the AMA agent . But in Heartbeat it still shows 'Direct agent' in category .

User's image

AMA helper shows this for workspace

User's image

and for VM

User's image

Why does both shows different version of Agents ?

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,658 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AnuragSingh-MSFT 21,551 Reputation points Moderator
    2024-03-12T06:33:40.1366667+00:00

    Racheal, thank you for reaching out to Microsoft Q&A and apologies for the delayed response.

    Confirm that you have followed the entire steps as mentioned in the guide, especially the following:

    1. Associate machines to your data collection rules:
      1. From the Monitor menu, select Data Collection Rules.
      2. From the Data Collection Rules screen, select your data collection rule.
      3. Select View resources > Add.
      4. Select your machines > Apply.

    This step is required to be followed for all the DCRs to add VMs which are getting migrated from OMS agent to AMA.

    Also, once the association in DCR is done, it may take 5-10 minutes for new data to come in.

    Regarding your query for the result from Heartbeat table, I would suggest querying the data for the specific machine and verifying the result. Because, if AMA and OMS agent are both installed on the machine, duplicate data will be sent to LA workspace, which might create confusion.

    Therefore, querying for a specific machine in Heartbeat table and orderd by timegenerated field should show entries from both tables - if any.

    Heartbeat
    | where Computer == '<Computer Name>'
    | order by TimeGenerated desc
    

    Hope this helps.

    Please let us know if you are still facing this issue.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.