Connect machines to the Log Analytics gateway - Azure Monitor (2023)

  • Article
  • 21 minutes to read

This article describes how to configure communication with Azure Automation and Azure Monitor using the Log Analytics Gateway when computers that are directly connected to Operations Manager or that are monitored by Operations Manager do not have internet access.

The Log Analytics Gateway is an HTTP forward proxy that supports HTTP tunneling with the HTTP CONNECT command. This gateway sends data for machines that can't connect directly to the internet to Azure Automation and a Log Analytics workspace in Azure Monitor. The gateway is for enrollment agent connectivity only and does not support Azure Automation features such as Runbook, DSC, and others.

The Log Analytics Gateway supports:

  • Report up to the same Log Analytics workspaces configured on each agent behind and configured with Azure Automation Hybrid Runbook Workers.
  • Windows computers running theAzure Monitoring Agentor the legacy Microsoft monitoring agent is connected directly to a Log Analytics workspace in Azure Monitor. The same agent must be running on the origin server and the gateway server. You cannot stream events from a server running the Azure Monitor agent through a server running the Gateway with the Log Analytics agent.
  • Linux computers on which theAzure Monitoring Agento The legacy Log Analytics agent for Linux connects directly to a Log Analytics workspace in Azure Monitor.
  • System Center Operations Manager 2012 SP1 with UR7, Operations Manager 2012 R2 with UR3, or a management group in Operations Manager 2016 or later that is integrated with Log Analytics.

Some computer security policies do not allow network computers to connect to the Internet. For example, these disconnected computers can be point-of-sale (POS) devices or servers that support IT services. To connect these devices to Azure Automation or a Log Analytics workspace so you can manage and monitor them, configure them to communicate directly with the Log Analytics gateway. The Log Analytics Gateway can receive configuration information and forward data on your behalf. If the machines running the Log Analytics agent are configured to connect directly to a Log Analytics workspace, the machines communicate with the Log Analytics gateway instead.

The Log Analytics Gateway passes data from agents directly to the service. It does not analyze any of the data in transit, and the gateway does not store any data if it loses connection to the service. If the gateway cannot communicate with the service, the agent continues to run and queues the collected data on the hard drive of the monitored computer. When the connection is restored, the agent sends the collected cached data to Azure Monitor.

When an Operations Manager management group is integrated with Log Analytics, depending on the solution enabled, management servers can be configured to connect to the Log Analytics gateway to receive configuration information and send aggregated data. Operations Manager agents send some data to the management server. For example, agents can send Operations Manager alerts, configuration assessment data, instance storage space data, and capacity data. Other high-volume data, e.g. Data such as Internet Information Services (IIS) logs, performance data, and security events are sent directly to the Log Analytics gateway.

When one or more Operations Manager gateway servers are deployed to monitor untrusted systems in a perimeter network or isolated network, those servers cannot communicate with a Log Analytics gateway. Operations Manager gateway servers can only report to one management server. When an Operations Manager management group is configured to communicate with the Log Analytics gateway, proxy configuration information is automatically propagated to all agent-managed machines that are configured to collect log data for Azure Monitor, even if the configuration is empty.

To provide high availability for directly connected groups or operations management groups that communicate with a Log Analytics workspace through the gateway, use Network Load Balancing (NLB) to redirect and distribute traffic across multiple gateway servers. In this way, if a gateway server fails, traffic is redirected to another available node.

The computer running the Log Analytics gateway requires the agent to identify the service endpoints that the gateway needs to communicate with. The agent must also instruct the gateway to report to the same workspaces that the agents or the Operations Manager management group behind the gateway are configured with. This configuration allows the gateway and agent to communicate with their assigned workspace.

A gateway can be set up with the Azure Monitor agent and multihomed for up to ten workspacesData Collection Rules. If you're using the legacy Microsoft Monitor agent, you can only multihome up to four workspaces because that's the total number of workspaces that the legacy Windows agent supports.

Each agent must have network connectivity to the gateway in order for agents to automatically transfer data to and from the gateway. Avoid installing the gateway on a domain controller. Linux computers behind a gateway server cannot use itContainer Script Installationto install the Log Analytics agent for Linux. The agent needs to be downloaded manually, copied to the computer and installed manually as the gateway only supports communication with the Azure services mentioned above.

The following diagram shows the data flowing from the direct agents through the gateway to Azure Automation and Log Analytics. The agent's proxy settings must match the port that the Log Analytics gateway is configured with.

Connect machines to the Log Analytics gateway - Azure Monitor (1)

The following diagram shows data flow from an Operations Manager management group to Log Analytics.

Connect machines to the Log Analytics gateway - Azure Monitor (2)

configure your system

Computers designated to run the Log Analytics gateway must have the following settings:

  • Windows 10, Windows 8.1 oder Windows 7
  • Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 R2 oder Windows Server 2008
  • Microsoft .NET Framework 4.5
  • At least a 4-core processor and 8 GB of RAM
  • andAzure Monitor-Agentinstalled withData Collection Rule(s)configured, or theLog Analytics Agent for Windowsconfigured to report to the same workspace as agents communicating through the gateway

language availability

The Log Analytics Gateway is available in these languages:

  • Simplified Chinese)
  • Traditional Chinese)
  • Czech
  • Dutch
  • English
  • French
  • Deutsch
  • Hungarian
  • Italian
  • Japanese
  • Korean
  • polishing
  • Portuguese (Brazil)
  • Portuguese (Portugal)
  • Russian
  • Spanish (International)

Supported encryption protocols

The Log Analytics Gateway only supports Transport Layer Security (TLS) 1.0, 1.1 and 1.2. Secure Sockets Layer (SSL) is not supported. To ensure data security when transmitted to Log Analytics, configure the gateway to use at least TLS 1.2. Older versions of TLS or SSL are vulnerable. Although they currently allow backwards compatibility, please avoid using them.

For more information, see VerifySend data securely with TLS 1.2.


The gateway is a forward proxy that does not store any data. After the agent connects to Azure Monitor, it follows the same encryption flow with or without a gateway. The data is encrypted between the client and the endpoint. Because the gateway is just a tunnel, it can't verify what's being sent.

Supported number of agent connections

The table below shows approximately how many agents can communicate with a gateway server. Support is based on agents uploading approximately 200KB of data every 6 seconds. For each agent tested, the data volume is approximately 2.7 GB per day.

PuertaApproved Agents (Approximately)
CPU: Processor Intel Xeon E5-2660 v3 @ 2.6 GHz 2 cores
Memory: 4GB
Network bandwidth: 1 Gbps
CPU: Processor Intel Xeon E5-2660 v3 @ 2.6 GHz 4 cores
Memory: 8GB
Network bandwidth: 1 Gbps

Download Log Analytics Gateway

Get the latest version of the Log Analytics Gateway configuration file from the Microsoft Download Center (Download-Link) or the Azure portal.

(Video) How to use the Log Analytics scope in Azure Monitor

Follow these steps to get the Log Analytics gateway from the Azure portal:

  1. Browse the list of services and then selectlog analysis.

  2. Choose a workspace.

  3. In your workspace panel, in the panel on the left, underGeneral, SelectQuick Start.

  4. UnderSelect a data source to connect to the workspace, SelectComputers.

  5. insideDirect agentpanel, selectDownload Log Analytics Gateway.

    Connect machines to the Log Analytics gateway - Azure Monitor (3)


  1. In your workspace panel, in the panel on the left, undersettings, Selectadvanced settings.
  2. Go toconnected sources>Windows-Serverand selectDownload Log Analytics Gateway.

Install the Log Analytics Gateway using the setup wizard

Follow these steps to install a gateway using the setup wizard.

  1. Double-click in the destination folderLog Analytics Gateway.msi.

  2. About himWarm welcomepage, selectNext.

    Connect machines to the Log Analytics gateway - Azure Monitor (4)

  3. About himLicense Agreementpage, selectI accept the terms of the license agreementto accept the Microsoft software license terms, and then selectNext.

  4. About himPort and proxy addressPage:

    a. Enter the TCP port number to use for the gateway. Setup uses this port number to configure an inbound rule in Windows Firewall. The default value is 8080. The valid port number range is 1 to 65535. If the entry is not within this range, an error message is displayed.

    b. If the server on which the gateway is installed needs to communicate through a proxy, enter the address of the proxy that the gateway needs to connect to. For example, enter If you leave this field blank, the gateway will try to connect directly to the internet. If your proxy server requires authentication, enter a username and password.


    Connect machines to the Log Analytics gateway - Azure Monitor (5)

  5. If you haven't turned on Microsoft Update, the Microsoft Update page will appear and you can turn it on. Make a selection and then selectNext. If not, continue to the next step.

  6. About himdestination folderLeave the default folder C:\Program Files\OMS Gateway or enter the location where you want to install the gateway. then selectNext.

  7. About himReady to installpage, selectTo install. When User Account Control asks for permission to install, chooseAnd.

  8. Select after the installation is completeThe end. To check if the service is running, open the services.msc plugin and checkWHO-Gatewayappears in the list of services and that is its statusElse.

    Connect machines to the Log Analytics gateway - Azure Monitor (6)

Install the Log Analytics Gateway from the command line

The gateway download file is a Windows Installer package that supports unattended installation from the command line or other automated method. If you are unfamiliar with the default Windows Installer command-line options, seecommand line options.

The following table highlights the parameters supported by the configuration.

PORT NUMBERTCP port number on which the gateway should listen
LAWYERProxy-Servers IP-Address
DIRINSTALLATIONFull path specifying the installation directory of the gateway software files
USERNAMEUser ID to authenticate with the proxy server
PASSWORDUser ID password to authenticate with proxy
License acceptedSpecify a value of1to confirm that you accept the license agreement
HASAUTHSpecify a value of1if the USERNAME/PASSWORD parameters are specified
HASPROXYSpecify a value of1by specifying the IP address forLAWYERParameter

To silently install the gateway and configure it with a specific proxy address and port number, type:

(Video) Azure Log Analytics Workspace I How to set up Microsoft Monitoring Agent on On-premises Server I OMS

Msiexec.exe /I "oms gateway.msi" /qn PORTNUMMER=8080 PROXY="" HASPROXY=1 License accepted=1

Using the /qn command line option hides the settings, /qb shows the settings during the unattended installation.

If you need to provide credentials to authenticate with the proxy, enter:

Msiexec.exe /I "oms gateway.msi" /qn PORTNUMBER=8080 PROXY="" HASPROXY=1 HASAUTH=1 USERNAME="<username>" PASSWORD="<password>" LicenseAccepted=1

After installation, you can confirm that the configurations (except username and password) are accepted by using the following PowerShell cmdlets:

  • Get-OMSGatewayConfig– Returns the TCP port on which the gateway is configured to listen.
  • Get-OMSGatewayRelayProxy- Returns the IP address of the proxy server you configured it to communicate with.

Configure Network Load Balancing

You can configure the gateway for high availability using Microsoft's Network Load Balancing (NLB).Network Load Balancing (NLB),Azure Load Balanceror hardware-based load balancers. The load balancer manages traffic by redirecting requested connections from Log Analytics agents or Operations Manager management servers through its nodes. If a gateway server fails, traffic is redirected to other nodes.

Microsoft Network Load Balancing

For information about designing and implementing a Windows Server 2016 Network Load Balancing cluster, seeNetwork Load Balancing. The following steps describe how to set up a Microsoft Network Load Balancing cluster.

  1. Log in to the Windows server that is a member of the NLB cluster with an administrator account.

  2. Open Network Load Balancing Manager in Server Manager, clickTooland then clickNetwork Load Balancing Manager.

  3. To connect to a Log Analytics Gateway server with the Microsoft Monitoring Agent installed, right-click the cluster IP address and then clickAdd host to cluster.

    Connect machines to the Log Analytics gateway - Azure Monitor (7)

  4. Enter the IP address of the gateway server you want to connect to.

    Connect machines to the Log Analytics gateway - Azure Monitor (8)

Azure Load Balancer

For information about designing and implementing an Azure Load Balancer, seeWas ist Azure Load Balancer?. To implement a simple load balancer, follow the steps in this oneQuick Startexcept for the steps described in the sectionBuild backend servers.


Configure Azure Load Balancer usingBase-SKU, requires Azure VMs to belong to an availability set. For more information about availability groups, seeManage the availability of Windows virtual machines in Azure. For information about adding existing virtual machines to an availability set, seeSet the availability set for Azure Resource Manager virtual machines.

After creating the load balancer, a backend pool must be created that distributes traffic across one or more gateway servers. Follow the steps outlined in the Quickstart Articles sectionCreate resources for the load balancer.


When configuring the integrity probe, it must be configured to use the gateway server's TCP port. The health probe dynamically adds or removes gateway servers from the load balancer rotation based on their response to health checks.

Configure the Azure Monitor agent to communicate through the Log Analytics gateway

To configure the Azure Monitor agent (installed on the gateway server) to use the gateway to upload data for Windows or Linux:

  1. Follow the directions forConfigure proxy settings on the agentand provide the IP address and port number for the gateway server. If you have multiple gateway servers deployed behind a load balancer, the agent's proxy setting is the load balancer's virtual IP address.
  2. add theConfiguration endpoint URLto retrieve data collection rules on the allow list for the gateway
    Add-OMSGatewayAllowedHost -Host
    Add-OMSGatewayAllowedHost -Host <Gateway-Server-Regionsname>
    (If you're using private links in the agent, you'll need to add those tooDCE endpoints)
  3. add theData ingestion endpoint URLon the allow list for the gateway
    Add-OMSGatewayAllowedHost -Host <log-analytics-workspace-id>
  4. start anewWHO-GatewayService to apply changes
    Stop-Service -Name <Gateway-Name>
    Start-Service-Name <Gateway-Name>

Configure the Log Analytics agent and the Operations Manager management group

This section shows you how to configure directly connected legacy Log Analytics agents, an Operations Manager management group, or Azure Automation hybrid runbook workers with the Log Analytics gateway to communicate with Azure Automation or Log Analytics.

Configure a standalone Log Analytics agent

When configuring the legacy Log Analytics agent, replace the value of proxy server with the IP address and port number of the Log Analytics gateway server. If you have deployed multiple gateway servers behind a load balancer, the Log Analytics agent's proxy setting is the load balancer's virtual IP address.


For information about installing the Log Analytics agent on the gateway and on Windows computers that connect directly to Log Analytics, seeConnect Windows machines to the Log Analytics service in Azure. For information on connecting Linux computers, seeConnect Linux devices to Azure Monitor.

After you install the agent on the gateway server, configure it to report to the workspace or workspace agents that communicate with the gateway. If the Log Analytics Windows agent is not installed on the gateway, Event 300 is written to the OMS Gateway event log, indicating that the agent needs to be installed. If the agent is installed but not configured to report to the same workspace as the agents communicating through it, Event 105 will be written to the same log, indicating that the agent should be configured at the gateway to communication with the gateway reports to the same workspace as the agents.

(Video) How to send Azure Activity Log to Azure Monitor Log Analytics

After completing the configuration, restart theWHO-Gatewayservice to apply the changes. Otherwise, the gateway rejects agents trying to communicate with Log Analytics and reports event 105 in the OMS gateway event log. This also happens when you add or remove an agent configuration workspace on the gateway server.

For the Automation Hybrid Runbook Worker, seeAutomate resources in your data center or in the cloud with Hybrid Runbook Worker.

Configure Operations Manager where all agents use the same proxy server

Operations Manager proxy settings are automatically applied to all agents reporting to Operations Manager, even if the setting is empty.

To use OMS Gateway to support Operations Manager, you need the following:

  • Microsoft Monitoring Agent (version 8.0.10900.0 or later) installed on the OMS gateway server and configured with the same Log Analytics workspaces you want your management group to report to.
  • internet connection. Alternatively, the OMS gateway needs to be connected to a proxy server that is connected to the internet.


If you don't specify a value for the gateway, empty values ​​are sent to all agents.

When your Operations Manager management group logs in to a Log Analytics workspace for the first time, the option to specify proxy settings for the management group does not appear in the Operations console. This option is only available if the management group has registered with the service.

To configure the integration, update the system proxy settings using Netsh on the system where you are running the Operations console and on all management servers in the management group. Follow these steps:

  1. Open an elevated command prompt:

    a. SelectBeginningand entercmd.

    b. The right mouse buttonSymbol des Systemsand selectExecute as administrator.

  2. Enter the following command:

    netsh winhttp establece Proxy <proxy>:<puerto>

After completing the integration with Log Analytics, remove the change by running itnetsh winhttp Reset-Proxy. Then in the operations console, use theConfigure proxy serverOption to specify the Log Analytics gateway server.

  1. In the Operations Manager console atOperations-Management-Paket, Selectconnectionand then selectConfigure proxy server.

    Connect machines to the Log Analytics gateway - Azure Monitor (9)

  2. SelectUse a proxy server to access Operations Management Suiteand then enter the IP address of the Log Analytics gateway server or the virtual IP address of the load balancer. Be sure to start with the prefixhttp://.

    Connect machines to the Log Analytics gateway - Azure Monitor (10)

  3. SelectThe end. Your Operations Manager management group is now configured to communicate with the Log Analytics service through the gateway server.

Configure Operations Manager where specific agents use a proxy server

For large or complex environments, you may want only specific servers (or groups) to use the Log Analytics Gateway server. For these servers, you cannot update the Operations Manager agent directly because this value is overridden by the global management group value. Instead, override the rule used to transfer these values.


Use this configuration procedure if you want to allow multiple Log Analytics Gateway servers in your environment. For example, you can require specific Log Analytics gateway servers to be specified at the regional level.

To configure specific servers or groups to use the Log Analytics Gateway server:

  1. Open the Operations Manager console and select itauthorshipworking space

    (Video) Collect data from a Windows computer in a hybrid environment with Azure Monitor

  2. Select in the authoring workspaceStandards.

  3. From the Operations Manager toolbar, select theTo reachButton. If this button isn't available, make sure you've selected an item and not a folder in theAt sightCrystal. HeScope Management Package objectsThe dialog box displays a list of common target classes, groups, or objects.

  4. insideSearchfield, enterhealthcareand select it from the list. SelectOK.

  5. SearchAdvisor-Proxy-Konfigurationsregel.

  6. Select on the Operations Manager toolbarcancellationsand then point toOverride Rule\For a class-specific object: Health Serviceand select an object from the list. Or create a custom group that contains the Health Service object of the servers to which you want to apply this override. Then apply the override to your custom group.

  7. insideoverride propertiesAdd a check mark in the dialog boxCancelcolumn next toWeb-Proxy-AddressParameter. insideoverwrite valueIn the field, enter the URL of the Log Analytics gateway server. Be sure to start with the prefixhttp://.


    You don't have to activate the rule. It is already managed automatically with an override in the Microsoft System Center Advisor Safe Reference Override Management Pack targeting the Microsoft System Center Advisor monitoring pool.

  8. Select a management packageSelect the target management packor create a new unsealed management pack by selectingNeu.

  9. When you're done, selectOK.

For Automation Hybrid, configure runbook workers

If you have Automation Hybrid Runbook workers in your environment, follow these steps to configure the gateway to support the workers.

Refer toConfigure your networkin the automation documentation to find the URL for each region.

For example, if your computer is automatically registered as a Hybrid Runbook Worker when the update management solution is enabled for one or more virtual machines, do the following:

  1. Add the job runtime data service URLs to the list of allowed hosts in the Log Analytics gateway. For example:Add-OMSGatewayAllowedHost
  2. Restart the Log Analytics Gateway service using the following PowerShell cmdlet:Restart OMSGatewayService service

If your computer is connected to Azure Automation using the Hybrid Runbook Worker registration cmdlet, do the following:

  1. Add the agent service log URL to the list of allowed hosts in the Log Analytics gateway. For example:Add-OMSGatewayAllowedHost
  2. Add the job runtime data service URLs to the list of allowed hosts in the Log Analytics gateway. For example:Add-OMSGatewayAllowedHost
  3. Restart the Log Analytics Gateway service.Restart OMSGatewayService service

Useful PowerShell cmdlets

You can use cmdlets to perform the tasks to update the Log Analytics gateway configuration options. Before using cmdlets, ensure the following:

  1. Install the Log Analytics gateway (Microsoft Windows Installer).
  2. Open a PowerShell console window.
  3. Import the module by typing this command:OMSGateway-Importmodul
  4. If no error occurred in the previous step, the module was successfully imported and the cmdlets can be used. Get intoGet-Modul OMSGateway
  5. After using the cmdlets to make changes, restart the OMS Gateway service.

An error in step 3 means that the module was not imported. The error can occur when PowerShell cannot find the module. You can find the module in the OMS Gateway installation path:C:\Programmarchiv\Microsoft OMS Gateway\PowerShell\OmsGateway.

Get-OMSGatewayConfigkeyGets the configuration of the service.Get-OMSGatewayConfig
Set-OMSGatewayConfigkey (mandatory)
change service settingsSet-OMSGatewayConfig -Name listening port -Value 8080
Get-OMSGatewayRelayProxyGets the address of the relay proxy (upstream).Get-OMSGatewayRelayProxy
Password (secure character string)
Sets the address (and credentials) of the relay proxy (upstream).1. Set up a relay proxy and credentials:
-Username user1 -Password 123

2. Configure a relay proxy that does not require authentication:Set-OMSGatewayRelayProxy

3. Delete the relay proxy settings:
-Direction ""

Get-OMSGatewayAllowedHostGets the current allowed host (only the locally configured allowed host, not automatically downloaded allowed hosts)Get-OMSGatewayAllowedHost
Agregar-OMSGatewayAllowedHostHost (required)Add the host to the allow listAdd-OMSGatewayAllowedHost -Host
Eliminar-OMSGatewayAllowedHostHost (required)Remove the host from the allow listEliminar-OMSGatewayAllowedHost
- Host
Add-OMSGatewayAllowedClientCertificateSubject (required)Add the subject of the client certificate to the allow listAgregar-OMSGatewayAllowed
client certificate
- Apartment mycert
Remove-OMSGatewayAllowedClientCertificateSubject (required)Removes the client certificate subject from the allow listEliminar-OMSGatewayAllowed
client certificate
- Apartment mycert
Get-OMSGatewayAllowedClientCertificateRetrieves the current allowed subjects of the client certificate (locally configured allowed subjects only, not auto-downloaded allowed subjects)To get-
client certificate

solve problems

To collect events logged by the gateway, the Log Analytics agent must be installed.

Connect machines to the Log Analytics gateway - Azure Monitor (11)

Log Analytics Gateway Event IDs and Descriptions

The following table shows the event IDs and descriptions of the Log Analytics gateway log events.

I WOULDdescription
400Any application error that does not have a specific ID.
401Incorrect configuration. Example: listenPort = "text" instead of an integer.
402Exception parsing TLS handshake messages.
403network error. For example, you cannot connect to the target server.
100General information.
101The service has started.
102The service has been stopped.
103An HTTP CONNECT command was received from the client.
104It's not an HTTP CONNECT command.
105The destination server is not on the allow list or the destination port is not secure (443).

Ensure that the MMA agent on your OMS Gateway server and the agents communicating with the OMS Gateway are connected to the same Log Analytics workspace.

105ERROR TcpConnection - Invalid client certificate: CN=Gateway.

Make sure you are using OMS Gateway version 1.0.395.0 or higher. Also ensure that the MMA agent on your OMS Gateway server and the agents communicating with the OMS Gateway are connected to the same Log Analytics workspace.

106TLS/SSL protocol version is not supported.

The Log Analytics Gateway only supports TLS 1.0, TLS 1.1 and 1.2. SSL is not supported.

107The TLS session has been verified.

Performance counter to collect

The following table shows the performance counters available for Log Analytics Gateway. Use Performance Monitor to add the performance counters.

Log Analytics-Gateway/aktive ClientverbindungNumber of active client network connections (TCP)
Log Analytics Gateway/Error Countnumber of errors
Log Analytics-Gateway/verbundener ClientNumber of connected clients
Log Analytics-Bounce/Gateway-AnzahlNumber of rejections due to a TLS validation error

Connect machines to the Log Analytics gateway - Azure Monitor (12)


After you sign in to the Azure portal, you can get help about the Log Analytics gateway or other Azure services or features. For help, select the question mark icon in the top right corner of the portal and selectNew support request. Then fill out the new support request form.

Connect machines to the Log Analytics gateway - Azure Monitor (13)

Next Steps

Add data sourcesto collect data from connected sources and store the data in your Log Analytics workspace.


Which agent ensures the communication between the Log Analytics and VM in Azure Monitor? ›

Azure Monitor Agent (AMA) collects monitoring data from the guest operating system of Azure and hybrid virtual machines and delivers it to Azure Monitor for use by features, insights, and other services, such as Microsoft Sentinel and Microsoft Defender for Cloud.

How do I connect to Azure Log Analytics? ›

Use the Log Analytics workspaces menu to create a workspace.
  1. In the Azure portal, enter Log Analytics in the search box. ...
  2. Select Add.
  3. Select a Subscription from the dropdown.
  4. Use an existing Resource Group or create a new one.
  5. Provide a name for the new Log Analytics workspace, such as DefaultLAWorkspace.
Feb 13, 2023

What are the 7 things Azure security Monitor can do? ›

Use Azure Monitor to monitor these types of resources in Azure, other clouds, or on-premises:
  • Applications.
  • Virtual machines.
  • Guest operating systems.
  • Containers.
  • Databases.
  • Security events in combination with Azure Sentinel.
  • Networking events and health in combination with Network Watcher.

What are the limitations of Azure Monitor? ›

The following limits apply to the Azure Monitor workspace ingesting your Prometheus metrics. Active time series with metrics that have been reported in the last ~12 hours. You can request an increase. You can request an increase.
Query pre-parsing limits.
Query hours per Azure tenant600,000
2 more rows
Oct 12, 2022

What is the process of Azure Monitor logs? ›

Create diagnostic settings to send resource logs from Azure resources to the workspace. Enable VM insights to collect data from virtual machines. Configure data sources on the workspace to collect more events and performance data.

Which of the following events will be logged into the activity log of Azure Monitor? ›

The Azure Monitor activity log is a platform log in Azure that provides insight into subscription-level events. The activity log includes information like when a resource is modified or a virtual machine is started. You can view the activity log in the Azure portal or retrieve entries with PowerShell and the Azure CLI.

How do I connect my Azure VM to Log Analytics workspace? ›

Enable VM insights for Log Analytics agent
  1. From the Monitor menu in the Azure portal, select Virtual Machines > Overview > Not Monitored.
  2. Select Enable next to any machine that you want to enable. ...
  3. On the Insights Onboarding page, select Enable.
  4. On the Monitoring configuration page, select Log Analytics agent.
Dec 18, 2022

How do I connect to Azure Monitor? ›

Start by opening the Log Search portal.
  1. In the Azure portal, click All services. In the list of resources, type Monitor. As you begin typing, the list filters based on your input. Select Monitor.
  2. On the Monitor navigation menu, select Log Analytics and then select a workspace.
Mar 30, 2022

What allows Azure virtual machines to communicate with each other security? ›

VNet enables many types of Azure resources, such as Azure Virtual Machines (VM), to securely communicate with each other, the internet, and on-premises networks.

What is the difference between AMA agent and MMA agent? ›

Re: What's the difference between AMA and MMA.

Correct, MMA is a supporting agent for older OS. Whilst AMA is positioned as a replacement, this has no bearing on MDE: AMA will provide log retrieval for various Azure-based log analysis and related features.

What is the difference between AMA and MMA agent? ›

The biggest difference is based on the Data Collection Rules. The new AMA agent makes it possible to enable data collection based on DCR rules. The MMA agent was not flexible enough to choose what specific events to collect and was separated into 4 selections (All Events, Common, Minimal, none).

What is OMS agent used for? ›

The agent for Linux enables rich and real-time analytics for operational data (Syslog, performance, alerts, inventory) from Linux servers, Docker containers and monitoring tools like Nagios, Zabbix and System Center.


1. Microsoft Azure Monitor Agent (AMA) and Data Collection Rule (DCR) Overview
(John Savill's Technical Training)
2. Link Azure Automation to Log Analytics
(Travis Roberts)
3. Azure Log Analytics Step by Step - Workspace Setup
(Travis Roberts)
4. Configuring Alert and Monitoring for Azure Services
(Azure Training Series)
5. Azure API Management - Analytics and Logging (walk-through 06)
6. Day 9 - Yule Learn Azure Monitor Log Analytics with Chris Gill
(Festive Tech Calendar)


Top Articles
Latest Posts
Article information

Author: Golda Nolan II

Last Updated: 05/10/2023

Views: 6610

Rating: 4.8 / 5 (58 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Golda Nolan II

Birthday: 1998-05-14

Address: Suite 369 9754 Roberts Pines, West Benitaburgh, NM 69180-7958

Phone: +522993866487

Job: Sales Executive

Hobby: Worldbuilding, Shopping, Quilting, Cooking, Homebrewing, Leather crafting, Pet

Introduction: My name is Golda Nolan II, I am a thoughtful, clever, cute, jolly, brave, powerful, splendid person who loves writing and wants to share my knowledge and understanding with you.