Skip to main content

snapshots_latest

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

Overview

Namesnapshots_latest
TypeResource
Idcloudflare.magic_transit.snapshots_latest

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
bondsarray
count_reclaim_failuresnumberCount of failures to reclaim space
count_reclaimed_pathsnumberCount of reclaimed paths
count_record_failednumberCount of failed snapshot recordings
count_transmit_failuresnumberCount of failed snapshot transmissions
cpu_countnumberCount of processors/cores
cpu_pressure_10snumberPercentage of time over a 10 second window that tasks were stalled
cpu_pressure_300snumberPercentage of time over a 5 minute window that tasks were stalled
cpu_pressure_60snumberPercentage of time over a 1 minute window that tasks were stalled
cpu_pressure_total_usnumberTotal stall time (microseconds)
cpu_time_guest_msnumberTime spent running a virtual CPU or guest OS (milliseconds)
cpu_time_guest_nice_msnumberTime spent running a niced guest (milliseconds)
cpu_time_idle_msnumberTime spent in idle state (milliseconds)
cpu_time_iowait_msnumberTime spent wait for I/O to complete (milliseconds)
cpu_time_irq_msnumberTime spent servicing interrupts (milliseconds)
cpu_time_nice_msnumberTime spent in low-priority user mode (milliseconds)
cpu_time_softirq_msnumberTime spent servicing softirqs (milliseconds)
cpu_time_steal_msnumberTime stolen (milliseconds)
cpu_time_system_msnumberTime spent in system mode (milliseconds)
cpu_time_user_msnumberTime spent in user mode (milliseconds)
deltanumberNumber of network operations applied during state transition
dhcp_leasesarray
disksarray
epsilonnumberSimulated number of network operations applied during state transition
ha_statestringName of high availability state
ha_valuenumberNumeric value associated with high availability state (0 = disabled, 1 = active, 2 = standby, 3 = stopped, 4 = fault)
interfacesarray
io_pressure_full_10snumberPercentage of time over a 10 second window that all tasks were stalled
io_pressure_full_300snumberPercentage of time over a 5 minute window that all tasks were stalled
io_pressure_full_60snumberPercentage of time over a 1 minute window that all tasks were stalled
io_pressure_full_total_usnumberTotal stall time (microseconds)
io_pressure_some_10snumberPercentage of time over a 10 second window that some tasks were stalled
io_pressure_some_300snumberPercentage of time over a 3 minute window that some tasks were stalled
io_pressure_some_60snumberPercentage of time over a 1 minute window that some tasks were stalled
io_pressure_some_total_usnumberTotal stall time (microseconds)
kernel_btimenumberBoot time (seconds since Unix epoch)
kernel_ctxtnumberNumber of context switches that the system underwent
kernel_processesnumberNumber of forks since boot
kernel_processes_blockednumberNumber of processes blocked waiting for I/O
kernel_processes_runningnumberNumber of processes in runnable state
load_average_15mnumberThe fifteen-minute load average
load_average_1mnumberThe one-minute load average
load_average_5mnumberThe five-minute load average
load_average_curnumberNumber of currently runnable kernel scheduling entities
load_average_maxnumberNumber of kernel scheduling entities that currently exist on the system
memory_active_bytesnumberMemory that has been used more recently
memory_anon_hugepages_bytesnumberNon-file backed huge pages mapped into user-space page tables
memory_anon_pages_bytesnumberNon-file backed pages mapped into user-space page tables
memory_available_bytesnumberEstimate of how much memory is available for starting new applications
memory_bounce_bytesnumberMemory used for block device bounce buffers
memory_buffers_bytesnumberRelatively temporary storage for raw disk blocks
memory_cached_bytesnumberIn-memory cache for files read from the disk
memory_cma_free_bytesnumberFree CMA (Contiguous Memory Allocator) pages
memory_cma_total_bytesnumberTotal CMA (Contiguous Memory Allocator) pages
memory_commit_limit_bytesnumberTotal amount of memory currently available to be allocated on the system
memory_committed_as_bytesnumberAmount of memory presently allocated on the system
memory_dirty_bytesnumberMemory which is waiting to get written back to the disk
memory_free_bytesnumberThe sum of LowFree and HighFree
memory_high_free_bytesnumberAmount of free highmem
memory_high_total_bytesnumberTotal amount of highmem
memory_hugepages_freenumberThe number of huge pages in the pool that are not yet allocated
memory_hugepages_rsvdnumberNumber of huge pages for which a commitment has been made, but no allocation has yet been made
memory_hugepages_surpnumberNumber of huge pages in the pool above the threshold
memory_hugepages_totalnumberThe size of the pool of huge pages
memory_hugepagesize_bytesnumberThe size of huge pages
memory_inactive_bytesnumberMemory which has been less recently used
memory_k_reclaimable_bytesnumberKernel allocations that the kernel will attempt to reclaim under memory pressure
memory_kernel_stack_bytesnumberAmount of memory allocated to kernel stacks
memory_low_free_bytesnumberAmount of free lowmem
memory_low_total_bytesnumberTotal amount of lowmem
memory_mapped_bytesnumberFiles which have been mapped into memory
memory_page_tables_bytesnumberAmount of memory dedicated to the lowest level of page tables
memory_per_cpu_bytesnumberMemory allocated to the per-cpu alloctor used to back per-cpu allocations
memory_pressure_full_10snumberPercentage of time over a 10 second window that all tasks were stalled
memory_pressure_full_300snumberPercentage of time over a 5 minute window that all tasks were stalled
memory_pressure_full_60snumberPercentage of time over a 1 minute window that all tasks were stalled
memory_pressure_full_total_usnumberTotal stall time (microseconds)
memory_pressure_some_10snumberPercentage of time over a 10 second window that some tasks were stalled
memory_pressure_some_300snumberPercentage of time over a 5 minute window that some tasks were stalled
memory_pressure_some_60snumberPercentage of time over a 1 minute window that some tasks were stalled
memory_pressure_some_total_usnumberTotal stall time (microseconds)
memory_s_reclaimable_bytesnumberPart of slab that can be reclaimed on memory pressure
memory_s_unreclaim_bytesnumberPart of slab that cannot be reclaimed on memory pressure
memory_secondary_page_tables_bytesnumberAmount of memory dedicated to the lowest level of page tables
memory_shmem_bytesnumberAmount of memory consumed by tmpfs
memory_shmem_hugepages_bytesnumberMemory used by shmem and tmpfs, allocated with huge pages
memory_shmem_pmd_mapped_bytesnumberShared memory mapped into user space with huge pages
memory_slab_bytesnumberIn-kernel data structures cache
memory_swap_cached_bytesnumberMemory swapped out and back in while still in swap file
memory_swap_free_bytesnumberAmount of swap space that is currently unused
memory_swap_total_bytesnumberTotal amount of swap space available
memory_total_bytesnumberTotal usable RAM
memory_vmalloc_chunk_bytesnumberLargest contiguous block of vmalloc area which is free
memory_vmalloc_total_bytesnumberTotal size of vmalloc memory area
memory_vmalloc_used_bytesnumberAmount of vmalloc area which is used
memory_writeback_bytesnumberMemory which is actively being written back to the disk
memory_writeback_tmp_bytesnumberMemory used by FUSE for temporary writeback buffers
memory_z_swap_bytesnumberMemory consumed by the zswap backend, compressed
memory_z_swapped_bytesnumberAmount of anonymous memory stored in zswap, uncompressed
mountsarray
netdevsarray
platformstringPlatform identifier
snmp_icmp_in_addr_mask_repsnumberNumber of ICMP Address Mask Reply messages received
snmp_icmp_in_addr_masksnumberNumber of ICMP Address Mask Request messages received
snmp_icmp_in_csum_errorsnumberNumber of ICMP messages received with bad checksums
snmp_icmp_in_dest_unreachsnumberNumber of ICMP Destination Unreachable messages received
snmp_icmp_in_echo_repsnumberNumber of ICMP Echo Reply messages received
snmp_icmp_in_echosnumberNumber of ICMP Echo (request) messages received
snmp_icmp_in_errorsnumberNumber of ICMP messages received with ICMP-specific errors
snmp_icmp_in_msgsnumberNumber of ICMP messages received
snmp_icmp_in_parm_probsnumberNumber of ICMP Parameter Problem messages received
snmp_icmp_in_redirectsnumberNumber of ICMP Redirect messages received
snmp_icmp_in_src_quenchsnumberNumber of ICMP Source Quench messages received
snmp_icmp_in_time_excdsnumberNumber of ICMP Time Exceeded messages received
snmp_icmp_in_timestamp_repsnumberNumber of ICMP Address Mask Request messages received
snmp_icmp_in_timestampsnumberNumber of ICMP Timestamp (request) messages received
snmp_icmp_out_addr_mask_repsnumberNumber of ICMP Address Mask Reply messages sent
snmp_icmp_out_addr_masksnumberNumber of ICMP Address Mask Request messages sent
snmp_icmp_out_dest_unreachsnumberNumber of ICMP Destination Unreachable messages sent
snmp_icmp_out_echo_repsnumberNumber of ICMP Echo Reply messages sent
snmp_icmp_out_echosnumberNumber of ICMP Echo (request) messages sent
snmp_icmp_out_errorsnumberNumber of ICMP messages which this entity did not send due to ICMP-specific errors
snmp_icmp_out_msgsnumberNumber of ICMP messages attempted to send
snmp_icmp_out_parm_probsnumberNumber of ICMP Parameter Problem messages sent
snmp_icmp_out_redirectsnumberNumber of ICMP Redirect messages sent
snmp_icmp_out_src_quenchsnumberNumber of ICMP Source Quench messages sent
snmp_icmp_out_time_excdsnumberNumber of ICMP Time Exceeded messages sent
snmp_icmp_out_timestamp_repsnumberNumber of ICMP Timestamp Reply messages sent
snmp_icmp_out_timestampsnumberNumber of ICMP Timestamp (request) messages sent
snmp_ip_default_ttlnumberDefault value of the Time-To-Live field of the IP header
snmp_ip_forw_datagramsnumberNumber of datagrams forwarded to their final destination
snmp_ip_forwarding_enabledbooleanSet when acting as an IP gateway
snmp_ip_frag_createsnumberNumber of datagrams generated by fragmentation
snmp_ip_frag_failsnumberNumber of datagrams discarded because fragmentation failed
snmp_ip_frag_oksnumberNumber of datagrams successfully fragmented
snmp_ip_in_addr_errorsnumberNumber of input datagrams discarded due to errors in the IP address
snmp_ip_in_deliversnumberNumber of input datagrams successfully delivered to IP user-protocols
snmp_ip_in_discardsnumberNumber of input datagrams otherwise discarded
snmp_ip_in_hdr_errorsnumberNumber of input datagrams discarded due to errors in the IP header
snmp_ip_in_receivesnumberNumber of input datagrams received from interfaces
snmp_ip_in_unknown_protosnumberNumber of input datagrams discarded due unknown or unsupported protocol
snmp_ip_out_discardsnumberNumber of output datagrams otherwise discarded
snmp_ip_out_no_routesnumberNumber of output datagrams discarded because no route matched
snmp_ip_out_requestsnumberNumber of datagrams supplied for transmission
snmp_ip_reasm_failsnumberNumber of failures detected by the reassembly algorithm
snmp_ip_reasm_oksnumberNumber of datagrams successfully reassembled
snmp_ip_reasm_reqdsnumberNumber of fragments received which needed to be reassembled
snmp_ip_reasm_timeoutnumberNumber of seconds fragments are held while awaiting reassembly
snmp_tcp_active_opensnumberNumber of times TCP transitions to SYN-SENT from CLOSED
snmp_tcp_attempt_failsnumberNumber of times TCP transitions to CLOSED from SYN-SENT or SYN-RCVD, plus transitions to LISTEN from SYN-RCVD
snmp_tcp_curr_estabnumberNumber of TCP connections in ESTABLISHED or CLOSE-WAIT
snmp_tcp_estab_resetsnumberNumber of times TCP transitions to CLOSED from ESTABLISHED or CLOSE-WAIT
snmp_tcp_in_csum_errorsnumberNumber of TCP segments received with checksum errors
snmp_tcp_in_errsnumberNumber of TCP segments received in error
snmp_tcp_in_segsnumberNumber of TCP segments received
snmp_tcp_max_connnumberLimit on the total number of TCP connections
snmp_tcp_out_rstsnumberNumber of TCP segments sent with RST flag
snmp_tcp_out_segsnumberNumber of TCP segments sent
snmp_tcp_passive_opensnumberNumber of times TCP transitions to SYN-RCVD from LISTEN
snmp_tcp_retrans_segsnumberNumber of TCP segments retransmitted
snmp_tcp_rto_maxnumberMaximum value permitted by a TCP implementation for the retransmission timeout (milliseconds)
snmp_tcp_rto_minnumberMinimum value permitted by a TCP implementation for the retransmission timeout (milliseconds)
snmp_udp_in_datagramsnumberNumber of UDP datagrams delivered to UDP applications
snmp_udp_in_errorsnumberNumber of UDP datagrams failed to be delivered for reasons other than lack of application at the destination port
snmp_udp_no_portsnumberNumber of UDP datagrams received for which there was not application at the destination port
snmp_udp_out_datagramsnumberNumber of UDP datagrams sent
system_boot_time_snumberBoottime of the system (seconds since the Unix epoch)
tnumberTime the Snapshot was recorded (seconds since the Unix epoch)
thermalsarray
tunnelsarray
uptime_idle_msnumberSum of how much time each core has spent idle
uptime_total_msnumberUptime of the system, including time spent in suspend
vstringVersion

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectaccount_id, connector_id

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
account_idstringThe Cloudflare account ID.
connector_idstring

SELECT examples

OK

SELECT
bonds,
count_reclaim_failures,
count_reclaimed_paths,
count_record_failed,
count_transmit_failures,
cpu_count,
cpu_pressure_10s,
cpu_pressure_300s,
cpu_pressure_60s,
cpu_pressure_total_us,
cpu_time_guest_ms,
cpu_time_guest_nice_ms,
cpu_time_idle_ms,
cpu_time_iowait_ms,
cpu_time_irq_ms,
cpu_time_nice_ms,
cpu_time_softirq_ms,
cpu_time_steal_ms,
cpu_time_system_ms,
cpu_time_user_ms,
delta,
dhcp_leases,
disks,
epsilon,
ha_state,
ha_value,
interfaces,
io_pressure_full_10s,
io_pressure_full_300s,
io_pressure_full_60s,
io_pressure_full_total_us,
io_pressure_some_10s,
io_pressure_some_300s,
io_pressure_some_60s,
io_pressure_some_total_us,
kernel_btime,
kernel_ctxt,
kernel_processes,
kernel_processes_blocked,
kernel_processes_running,
load_average_15m,
load_average_1m,
load_average_5m,
load_average_cur,
load_average_max,
memory_active_bytes,
memory_anon_hugepages_bytes,
memory_anon_pages_bytes,
memory_available_bytes,
memory_bounce_bytes,
memory_buffers_bytes,
memory_cached_bytes,
memory_cma_free_bytes,
memory_cma_total_bytes,
memory_commit_limit_bytes,
memory_committed_as_bytes,
memory_dirty_bytes,
memory_free_bytes,
memory_high_free_bytes,
memory_high_total_bytes,
memory_hugepages_free,
memory_hugepages_rsvd,
memory_hugepages_surp,
memory_hugepages_total,
memory_hugepagesize_bytes,
memory_inactive_bytes,
memory_k_reclaimable_bytes,
memory_kernel_stack_bytes,
memory_low_free_bytes,
memory_low_total_bytes,
memory_mapped_bytes,
memory_page_tables_bytes,
memory_per_cpu_bytes,
memory_pressure_full_10s,
memory_pressure_full_300s,
memory_pressure_full_60s,
memory_pressure_full_total_us,
memory_pressure_some_10s,
memory_pressure_some_300s,
memory_pressure_some_60s,
memory_pressure_some_total_us,
memory_s_reclaimable_bytes,
memory_s_unreclaim_bytes,
memory_secondary_page_tables_bytes,
memory_shmem_bytes,
memory_shmem_hugepages_bytes,
memory_shmem_pmd_mapped_bytes,
memory_slab_bytes,
memory_swap_cached_bytes,
memory_swap_free_bytes,
memory_swap_total_bytes,
memory_total_bytes,
memory_vmalloc_chunk_bytes,
memory_vmalloc_total_bytes,
memory_vmalloc_used_bytes,
memory_writeback_bytes,
memory_writeback_tmp_bytes,
memory_z_swap_bytes,
memory_z_swapped_bytes,
mounts,
netdevs,
platform,
snmp_icmp_in_addr_mask_reps,
snmp_icmp_in_addr_masks,
snmp_icmp_in_csum_errors,
snmp_icmp_in_dest_unreachs,
snmp_icmp_in_echo_reps,
snmp_icmp_in_echos,
snmp_icmp_in_errors,
snmp_icmp_in_msgs,
snmp_icmp_in_parm_probs,
snmp_icmp_in_redirects,
snmp_icmp_in_src_quenchs,
snmp_icmp_in_time_excds,
snmp_icmp_in_timestamp_reps,
snmp_icmp_in_timestamps,
snmp_icmp_out_addr_mask_reps,
snmp_icmp_out_addr_masks,
snmp_icmp_out_dest_unreachs,
snmp_icmp_out_echo_reps,
snmp_icmp_out_echos,
snmp_icmp_out_errors,
snmp_icmp_out_msgs,
snmp_icmp_out_parm_probs,
snmp_icmp_out_redirects,
snmp_icmp_out_src_quenchs,
snmp_icmp_out_time_excds,
snmp_icmp_out_timestamp_reps,
snmp_icmp_out_timestamps,
snmp_ip_default_ttl,
snmp_ip_forw_datagrams,
snmp_ip_forwarding_enabled,
snmp_ip_frag_creates,
snmp_ip_frag_fails,
snmp_ip_frag_oks,
snmp_ip_in_addr_errors,
snmp_ip_in_delivers,
snmp_ip_in_discards,
snmp_ip_in_hdr_errors,
snmp_ip_in_receives,
snmp_ip_in_unknown_protos,
snmp_ip_out_discards,
snmp_ip_out_no_routes,
snmp_ip_out_requests,
snmp_ip_reasm_fails,
snmp_ip_reasm_oks,
snmp_ip_reasm_reqds,
snmp_ip_reasm_timeout,
snmp_tcp_active_opens,
snmp_tcp_attempt_fails,
snmp_tcp_curr_estab,
snmp_tcp_estab_resets,
snmp_tcp_in_csum_errors,
snmp_tcp_in_errs,
snmp_tcp_in_segs,
snmp_tcp_max_conn,
snmp_tcp_out_rsts,
snmp_tcp_out_segs,
snmp_tcp_passive_opens,
snmp_tcp_retrans_segs,
snmp_tcp_rto_max,
snmp_tcp_rto_min,
snmp_udp_in_datagrams,
snmp_udp_in_errors,
snmp_udp_no_ports,
snmp_udp_out_datagrams,
system_boot_time_s,
t,
thermals,
tunnels,
uptime_idle_ms,
uptime_total_ms,
v
FROM cloudflare.magic_transit.snapshots_latest
WHERE account_id = '{{ account_id }}' -- required
AND connector_id = '{{ connector_id }}' -- required
;