locked
App Service with OMS Log Analytics RRS feed

  • Question

  • I am looking to send logs to OMS Log Analytics from web apps hosted in Azure App Service.

    Microsoft's public documentation makes mention of sending logs to their the file system of the app itself, or to an Azure storage account, but there seems to be no mention of OMS Log Analytics.

    Any guidance on App Service integration with OMS Log Analytics?

    • Moved by Swikruti Bose Wednesday, November 29, 2017 1:07 PM Better suited here
    Tuesday, October 31, 2017 3:50 PM

Answers

  • Feedback:

     

    The current Web Apps Analytics solution in OMS only provides summarized information, and is not comparable to the raw IIS logs that can be sent to an Azure storage account.

     

    In this area (providing raw, not summarized, IIS logs to OMS Log Analytics for centralization and queryability), it appears that IaaS is further ahead than PaaS.
    Tuesday, November 28, 2017 10:48 PM

All replies

  • Azure Platform as a Service (PaaS) resources, like Web Sites (Web Apps) can emit performance metrics data natively to OMS. Today, there is no way to enable metrics logging for PaaS resources through the UI. Therefore, you need to use a PowerShell script. You may refer this article to "Enable Azure resource metrics logging using PowerShell".

    Reference: https://docs.microsoft.com/en-us/azure/log-analytics/log-analytics-azure-web-apps-analytics.

    -----------------------------------------------------------------------------------------------------

    Do click on "Mark as Answer" on the post that helps you, this can be beneficial to other community members.

    • Proposed as answer by Swikruti Bose Tuesday, October 31, 2017 6:51 PM
    Tuesday, October 31, 2017 6:51 PM
  • Feedback:

     

    The current Web Apps Analytics solution in OMS only provides summarized information, and is not comparable to the raw IIS logs that can be sent to an Azure storage account.

     

    In this area (providing raw, not summarized, IIS logs to OMS Log Analytics for centralization and queryability), it appears that IaaS is further ahead than PaaS.
    Tuesday, November 28, 2017 10:48 PM