Forum Discussion

StuFranks's avatar
StuFranks
Copper Contributor
Jul 20, 2022

Live Monitoring Billable Network Out for Current Day

Hi All,

 

Problem

Unable to monitor network usage for the current day for a subscription or resource group to identify the number of bytes which are billable.

 

More Info

I am looking for a way to query the Network Out for selected resources to identify how much data has gone in and out for the current day. The reason for doing so is to identify if any users on a system are moving huge amounts of data out of a resource in order to prevent/notify large billable data transfers as they are happening.

 

Clarification

I am aware that Data Out + Billable Data metrics can be queried for a resource group or subscription after the day has ended, I am looking for a way to do this for the current day.

 

Cheers,

 

Stu

6 Replies

  • KelvinYeo's avatar
    KelvinYeo
    Brass Contributor

    Hi Stu,

    Are you using any Azure services to monitor your current network usage and what are the services you are monitoring for the "Network Out"?

    • StuFranks's avatar
      StuFranks
      Copper Contributor

      KelvinYeoI use the billing/usage API to query past data out costs but I need to be able to monitor current/today/live data usage for a resource/resource group. Is this possible? The services I am wanting to monitor are virtual machines / network interfaces.

      • KelvinYeo's avatar
        KelvinYeo
        Brass Contributor

        StuFranks yea it is definitely possible, I believe you may be looking at the wrong place previously.

         

        In Azure, you can actually leverage on https://docs.microsoft.com/en-us/azure/azure-monitor/overview, a solution that encompasses multiple monitoring services that allow you to monitor various services within Azure.

         

        Since you are looking at identifying how much data has gone in and out from your VMs for the current day, https://docs.microsoft.com/en-us/azure/azure-monitor/vm/vminsights-overview might just fits in the picture. 

        You can take a look at this https://azure.microsoft.com/en-us/blog/analysis-of-network-connection-data-with-azure-monitor-for-virtual-machines/ written by https://azure.microsoft.com/en-us/blog/author/sckingho/ , it provides a comprehensive guide on how to set it up in your environment, there are some configurations that need to be done.

         

        One of the sample charts you can get from it is something like this

         

        However, do take note that the network chart on the Azure VM Overview only displays network traffic that will be billed. It does not include inter-virtual network traffic.

        Whereas the data and charts shown for VM insights is based on data from the guest VM and the network chart displays all TCP/IP traffic that is inbound and outbound to that VM, including inter-virtual network.

         

        Lastly, there are actually tons of monitoring services available in Azure Monitor, depending on what are your requirements, you are bound to find something that you need in there.

         

        Do let me know if it helps 😃

Resources