I just found that there is no data update to this User_Statistic table . If I manual udpate the net_bytes_received and net_byte_sent, then the usage record will be count when cloudstack usage process run .

On Wed, Nov 18, 2020 at 10:18 AM Hean Seng <heanseng@gmail.com> wrote:
Hi Andrija

There is some records inside the table ,  is this table supposed to be empty after it has been processed ?   And each time there is bytes incur, it will write to this table ? 

image.png

On Wed, Nov 18, 2020 at 8:04 AM Andrija Panic <andrija.panic@gmail.com> wrote:
Can you compare the records to the cloud.user_statistics table? As stupid
as it sounds... it does contain net_bytes_received/sent etc...

On Mon, 16 Nov 2020 at 14:20, Hean Seng <heanseng@gmail.com> wrote:

> Hi,
>
> Anybody know , For Cloudstack Usage, Type 4, and 5 ,  ( NETWORK_BYTES_SENT,
> and NETWORK_BYTES_RECEIVED) ,    the cloudstack-usage service,  copy from
> which table to usage_network Table?
>
>
>
>
> --
> Regards,
> Hean Seng
>


--

Andrija Panić


--
Regards,
Hean Seng


--
Regards,
Hean Seng