Statistics#

Configuration endpoint for router/statistics.

Python Attribute#

fgt.api.monitor.router.statistics

Available Methods#

  • get() - GET operation

Examples#

from hfortix_fortios import FortiOS

fgt = FortiOS(host='192.168.1.99', token='your-token')

# List all items
items = fgt.api.monitor.router.statistics.get()

Method Reference#

get()#

get(
    operator=None,
    ip_version=None,
    ip_mask=None,
    gateway=None,
    type=None,
    origin=None,
    interface=None,
    payload_dict=None,
    raw_json=False,
    **kwargs
)

Retrieve routing table statistics, including number of matched routes.