DotNet Mirror
  DNM facebook   DNM Google+   DNM Twitter   

Show row numbers in Azure Log Analytics query editor

By Ashok Nalam on 13 Aug 2020 | Category: Microsoft Azure | Tagged: azure azure portal azure monitor azure log analytics 
  Discuss Add Comment   |  
Add rating Rate this resource   

Introduction

Azure Log Analytics query editor is used to write, execute, and manage Azure monitor log queries in Azure Portal. The Log Analytics query editor has an option to show row numbers in the query editor.  

Settings -  Show row numbers in query editor 

Search for Log Analytics work-spaces in Azure Portal > Select any of your work spaces > Click on View Logs from Search and Analyze Logs > Open Logs > You can find  Settings gear Icon > Query Editor > Show row numbers in query editor > Switch On > Save.

Azure Monitor - Show row numbers in  Log Analytics query editor
Fig 1: Azure Monitor - Show row numbers in  Log Analytics query editor

To see the numbers in Log Analytics query editor , reload the page.

Azure Monitor - Log Analytics query editor with Row Numbers
Fig 2: Azure Monitor - Log Analytics query editor with Row Numbers

When it is useful

If there are any errors in the query, you can easily identity from the output with line number and debug the queries.

Azure Monitor - Log Analytics query editor error at row#5
Fig 3: Azure Monitor - Log Analytics query editor error at row#5
  Discuss Add Comment    
Add rating Rate this resource   
About the Contributor
Member Since : 10 Dec 2012
Member Points (Level) : 8906  (Professional)
Location : INDIA
Home Page : http://dotnetmirror.com
About : I am admin of this site.
Rate this resource
 
Add your Comment
Name Email WebSite
Captcha Refresh


Comments (0)
No comments found, click here to add comment.