fortios_report_chart
Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS
Collection: fortinet.fortios
Full Name: fortinet.fortios.fortios_report_chart
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_token | str | |||
| enable_log | bool | false | ||
| member_path | str | |||
| member_state | str | |||
| report_chart | dict | |||
| state | str | yes | ||
| vdom | str | root |
Example
yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_report_chart:
access_token: '{{ fortios_access_token }}'
report_chart:
category: misc
category_series:
font_size: "10"
column:
- id: "15"
mapping:
- id: "18"
op: none
value_type: integer
dimension: 2D
drill_down_charts:
- id: "28"
status: enable
favorite: "no"
graph_type: none
legend: enable
legend_font_size: "2147483647"
name: default_name_34
period: last24h
policy: "2147483647"
style: auto
title_font_size: "2147483647"
type: graph
x_series:
caption_font_size: "10"
font_size: "10"
is_category: "yes"
label_angle: 45-degree
scale_direction: decrease
scale_format: YYYY-MM-DD-HH-MM
scale_step: "32767"
scale_unit: minute
y_series:
caption_font_size: "10"
extra_y: enable
font_size: "10"
label_angle: 45-degree
state: present
vdom: root
name: Report chart widget configuration.