Forum Discussion

pavankemi's avatar
pavankemi
Brass Contributor
Nov 03, 2021

how to parse Multiline log from the files and ingest into Azure Sentinel

Team,

 

Can any one let me know how to parse multiline logs that are generated from various applications by using the custom application log method.

4 Replies

  • m_zorich's avatar
    m_zorich
    Iron Contributor
    Could you share an example log and what fields you wanted to extract? There are a number of ways to parse data in KQL
    • pavankemi's avatar
      pavankemi
      Brass Contributor

      m_zorich 

      Attached is the logs where it is getting split into multiple lines where this is a single event when it gets generated in an application

       

      • CliveWatson's avatar
        CliveWatson
        Former Employee

        pavankemi 

        That screen shot helps, but you cant see the Table or Column names to be sure.


        Using SigninLogs table as an example and the column DeviceDetail

        You may just be able to pick a row:

        SigninLogs
        | where DeviceDetail has "Rich Client"
        | project DeviceDetail.browser

         

        DeviceDetail_browser
        Rich Client 5.2.2.0
        Rich Client 5.2.2.0
        Rich Client 5.2.2.0


        Other data sources may need parse_json / mv-expand or an example here

         

Resources