OMS gateway and group policy


  • Hi,

    Can i send the logs of all windows devices to OMS gateway using group policy. customer do not want to send logs through agent to avoid performance issues. As lot of agent install on the windows devices.  

    Can i send logs from Windows event collector  (mentioned in above link) to OMS?

    Regards, Abhishek

    Abhishek Joshi | Blog :-

    Thursday, September 28, 2017 8:13 AM

All replies

  • Hi

    OMS gateway is basically a proxy specific for OMS. When you install OMS agent you have the option to specify proxy settings. You can create a script that will run trough all your machines and configure the proxy. You can also create a script that will change the proxy configuration on already installed agents. You can use any option group policy has to run scripts or installs applications.

    $OMSAgentProxyURL = ""
    $healthServiceSettings = New-Object -ComObject 'AgentConfigManager.MgmtSvcCfg'
    $healthServiceSettings.SetProxyInfo($OMSAgentProxyURL, '', '')
    Restart-Service -Name HealthService
    Mark this replied as answer if it is what you are looking for.

    Thursday, September 28, 2017 2:05 PM
  • Hi

    You'll need to install the Microsoft Monitoring Agent on every server and configure it to forward to OMS (via the gateway if needed). You should be able to deploy the agent using group policy (see Stoyans answer below).

    For Windows event forwarding - no:



    Blog - Twitter -

    Sunday, October 1, 2017 5:35 PM