How to collect telemetry from Azure Linux VM

Deshpande Amit Sudhir 20 Reputation points
2023-05-14T21:45:56.75+00:00

Looking for recommendation to collect & analyze linux logs with AMA or log analytics

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,814 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,171 questions
{count} votes

Accepted answer
  1. AnuragSingh-MSFT 20,261 Reputation points
    2023-05-16T05:22:01.39+00:00

    @Deshpande Amit Sudhir , Thank you for the question.

    As mentioned by Sam in the answer, you could use the "Log Analytics Extension" to install the Log Analytics agent on Linux VMs. However, note that "the Log Analytics agent is on a deprecation path and won't be supported after August 31, 2024". For more details, see Log Analytics agent overview.

    Therefore, I would recommend using "Azure Monitor Agent". It is easy to configure/maintain for Azure as well as non-Azure VM (On Prem or other cloud hosted). The logs and metrics from both agents (LA and AMA) is stored in Log Analytics workspace therefore, you can use similar workflow to query/analyze the data. More details about installation and data collection can be seen in the links below:

    Hope this helps.

    If the answer did not help, please add more context/follow-up question for it, and we will help you out. Else, if the answer helped, please click Accept answer so that it can help others in the community looking for help on similar topics.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Sam Cogan 10,157 Reputation points MVP
    2023-05-15T08:21:28.1833333+00:00

    You can install the Log Analytics extension for Linux VMs to collect data from these VMs into Log Analytics.

    0 comments No comments