top 10 tables in Log Analytics Workspace

Venu Gopal Krishna VV 100 Reputation points
2023-08-07T06:41:15.2433333+00:00

Hi All,

 

i want to see the top 10 tables using more space in the log analytics work space.

need some help to fetch the top 10 tables

can anyone please help me with query which can pull the top 10 tables using more space

 

appreciate for help in this. 

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,565 questions
0 comments No comments
{count} votes

Accepted answer
  1. Clive Watson 7,481 Reputation points MVP
    2023-08-07T07:56:28.5266667+00:00

    You can get the top 10 like this:

    Usage 
    | summarize GBytes=sum(Quantity)/1000 by DataType 
    | top 10 by GBytes 
    | order by GBytes desc
    

    Or for a Week, or other time range add:

    Usage

    | where TimeGenerated > ago(7d)

    | summarize GBytes=sum(Quantity)/1000 by DataType

    | top 10 by GBytes | order by GBytes desc

    2 people found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.