Search code examples
azurenumberslineazure-data-explorerkql

How can I enable the line numbers in the log query editor in Azure?


How can I enable the line numbers in the log query editor in Azure?

I found this article. It states that the feature I am looking for indeed exists, but it does not tell how to enable it.


Solution

  • Here are the steps you can follow to enable line numbers in the azure log query editor.

    Check Azure Portal -> Log Analytics workspace -> Logs (Left-Hand menu) ->Setting (Top right Corner) -> Query Editor ->On (Show Row number in query editor)

    1. Login to Azure Portal Azure Portal.
    2. Navigate to Application Insights.
    3. Select the Application Insights account for which you want to enable line numbers.
    4. Select Logs `
    5. Navigate to the Settings enter image description here icon in right most corner.
    6. You can enable line number by using radio button highlighted below.enter image description here

    To check respective workspace associated with given Application Insight.

    Application Insight -> Overview (Left Hand Panel) -> Workspace (Right Hand Panel) it will redirect you to the respective Log Analytics workspace OR if you want to check and change the Workspace then Application Insight -> Properties(Left-Hand Panel) -> Workspace (Right-Hand Panel)

    enter image description here