How to remove log analytics agent from azure vm to minimise the duplicate costs incurred by azure monitor agent and log analytics agent - Microsoft Q&A (2024)

Hi @Ishan Saxena ,

To remove the Log Analytics agent from an Azure VM, you can follow these steps:

  1. Sign in to the Azure portal.
  2. In the Azure portal, select Virtual Machines.
  3. From the list, select the VM that has the Log Analytics agent installed.
  4. On the left, select Extensions. On the Extensions page, select the Log Analytics agent extension.
  5. On the extension properties page, select Uninstall.

After you have uninstalled the Log Analytics agent, you should verify that no Log Analytics agents are still connected to your Log Analytics workspace. To do this, you can run a log query in Log Analytics. This query will show the last heartbeat for each computer. If a computer has both agents, it will return two records, each with a different category. The Azure Monitor agent will have a category of Azure Monitor Agent. The Log Analytics agent will have a category of Direct Agent. If you find that there are still machines with both agents sending data to your Log Analytics workspace, you should remove the Log Analytics agent from those machines to avoid duplicate data and extra ingestion costs.

References:

  1. How to remove log analytics agent from azure vm to minimise the duplicate costs incurred by azure monitor agent and log analytics agent - Microsoft Q&A (1)

    Hi @tbgangav-MSFT,

    I configured azure monitor agent on existing log analytics configured vm, now it has 3 extensions -

    1. AzureMonitorWindowsAgent
    2. DependencyAgentWindows
    3. MicrosoftMonitorinAgent

    I guess i have to uninstall Dependency and MicrosoftMonitoring agent to delete the log analytics data being generated.

    Could you please confirm or there is some other step that also has to be performed.

  2. How to remove log analytics agent from azure vm to minimise the duplicate costs incurred by azure monitor agent and log analytics agent - Microsoft Q&A (2)

    tbgangav-MSFT 10,426Reputation points

    2023-10-31T14:05:07.13+00:00

    Hi @Ishan Saxena ,

    Yes, you could uninstall MicrosoftMonitorinAgent. If your DependencyAgentWindows extension i.e., Windows Dependency Agent is installed by enabling AMA in its settings then you need not uninstall DependencyAgentWindows. Otherwise, Dependency Agent sends data to Log Analytics agent so you could uninstall it in that case. For more information with regards to it, refer this this Azure document.

  3. How to remove log analytics agent from azure vm to minimise the duplicate costs incurred by azure monitor agent and log analytics agent - Microsoft Q&A (3)

    Ishan Saxena 20Reputation points

    2023-11-03T21:03:13.5266667+00:00

    Thanks for the information. Could you please confirm how can we check that the data is not duplicating by stored by both Azure monitor agent and log analytics agent?

  4. How to remove log analytics agent from azure vm to minimise the duplicate costs incurred by azure monitor agent and log analytics agent - Microsoft Q&A (4)

    tbgangav-MSFT 10,426Reputation points

    2023-11-06T03:51:56.2666667+00:00

    Hi @Ishan Saxena ,

    You could run a log query, may be to show the last heartbeat for each computer. If a computer has both agents, it will return two records, each with a different category.

Sign in to comment

How to remove log analytics agent from azure vm to minimise the duplicate costs incurred by azure monitor agent and log analytics agent - Microsoft Q&A (2024)
Top Articles
Why Aren’t Women Saving Enough for Retirement?
Americans Still Love To Play Wordle | WordFinder®
English Bulldog Puppies For Sale Under 1000 In Florida
Toyota Campers For Sale Craigslist
PRISMA Technik 7-10 Baden-Württemberg
Mama's Kitchen Waynesboro Tennessee
Southeast Iowa Buy Sell Trade
Craigslist Free Stuff Appleton Wisconsin
Jennette Mccurdy And Joe Tmz Photos
Moviesda Dubbed Tamil Movies
Wal-Mart 140 Supercenter Products
Best Pawn Shops Near Me
Why Is Stemtox So Expensive
Obituary | Shawn Alexander | Russell Funeral Home, Inc.
Skylar Vox Bra Size
Readyset Ochsner.org
Meritas Health Patient Portal
iLuv Aud Click: Tragbarer Wi-Fi-Lautsprecher für Amazons Alexa - Portable Echo Alternative
Log in or sign up to view
Wicked Local Plymouth Police Log 2022
Keurig Refillable Pods Walmart
Pokemon Unbound Shiny Stone Location
The BEST Soft and Chewy Sugar Cookie Recipe
Low Tide In Twilight Ch 52
Defending The Broken Isles
Netwerk van %naam%, analyse van %nb_relaties% relaties
Violent Night Showtimes Near Johnstown Movieplex
Divide Fusion Stretch Hoodie Daunenjacke für Herren | oliv
Emuaid Max First Aid Ointment 2 Ounce Fake Review Analysis
Kempsville Recreation Center Pool Schedule
Slv Fed Routing Number
Gerber Federal Credit
Hannibal Mo Craigslist Pets
Gets Less Antsy Crossword Clue
Evil Dead Rise (2023) | Film, Trailer, Kritik
Aurora Il Back Pages
Сталь aisi 310s российский аналог
Download Diablo 2 From Blizzard
The Largest Banks - ​​How to Transfer Money With Only Card Number and CVV (2024)
Pa Legion Baseball
Charli D'amelio Bj
Lucifer Morningstar Wiki
Citroen | Skąd pobrać program do lexia diagbox?
About Us
Xre 00251
855-539-4712
Gander Mountain Mastercard Login
Meee Ruh
Every Type of Sentinel in the Marvel Universe
Prologistix Ein Number
Metra Union Pacific West Schedule
Shad Base Elevator
Latest Posts
Article information

Author: Gregorio Kreiger

Last Updated:

Views: 5403

Rating: 4.7 / 5 (77 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Gregorio Kreiger

Birthday: 1994-12-18

Address: 89212 Tracey Ramp, Sunside, MT 08453-0951

Phone: +9014805370218

Job: Customer Designer

Hobby: Mountain biking, Orienteering, Hiking, Sewing, Backpacking, Mushroom hunting, Backpacking

Introduction: My name is Gregorio Kreiger, I am a tender, brainy, enthusiastic, combative, agreeable, gentle, gentle person who loves writing and wants to share my knowledge and understanding with you.