Skip to main content

network_transfer_statistics

Creates, updates, deletes, gets or lists a network_transfer_statistics resource.

Overview

Namenetwork_transfer_statistics
TypeResource
Idlinode.linode.network_transfer_statistics

Fields

The following fields are returned by SELECT queries:

A collection of the specified Linode's network transfer statistics for the requested month.

NameDatatypeDescription
bytes_inintegerRead-only The amount of inbound public network traffic received by this Linode, in bytes, for a specific year/month.
bytes_outintegerRead-only The amount of outbound public network traffic sent by this Linode, in bytes, for a specific year/month.
bytes_totalintegerRead-only The total amount of public network traffic sent and received by this Linode, in bytes, for a specific year/month.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_linode_transfer_by_year_monthselectReturns a Linode's network transfer statistics for a specific month. The year/month values must be either a date in the past, or the current month. OAuth scopes.

<br /> linodes:read_only<br />

Learn more...

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription

SELECT examples

Returns a Linode's network transfer statistics for a specific month. The year/month values must be either a date in the past, or the current month. OAuth scopes.

<br /> linodes:read_only<br />

Learn more...

SELECT
bytes_in,
bytes_out,
bytes_total
FROM linode.linode.network_transfer_statistics;