Fortinet white logo
Fortinet white logo

CLI Reference

config report chart

config report chart

Report chart widget configuration.

config report chart
    Description: Report chart widget configuration.
    edit <name>
        set policy {integer}
        set type [graph|table]
        set period [last24h|last7d]
        config drill-down-charts
            Description: Drill down charts.
            edit <id>
                set chart-name {string}
                set status [enable|disable]
            next
        end
        set comments {string}
        set dataset {string}
        set category [misc|traffic|...]
        set favorite [no|yes]
        set graph-type [none|bar|...]
        set style [auto|manual]
        set dimension [2D|3D]
        config x-series
            Description: X-series of chart.
            set databind {string}
            set caption {string}
            set caption-font-size {integer}
            set font-size {integer}
            set label-angle [45-degree|vertical|...]
            set is-category [yes|no]
            set scale-unit [minute|hour|...]
            set scale-step {integer}
            set scale-direction [decrease|increase]
            set scale-format [YYYY-MM-DD-HH-MM|YYYY-MM-DD HH|...]
            set unit {string}
        end
        config y-series
            Description: Y-series of chart.
            set databind {string}
            set caption {string}
            set caption-font-size {integer}
            set font-size {integer}
            set label-angle [45-degree|vertical|...]
            set group {string}
            set unit {string}
            set extra-y [enable|disable]
            set extra-databind {string}
            set y-legend {string}
            set extra-y-legend {string}
        end
        config category-series
            Description: Category series of pie chart.
            set databind {string}
            set font-size {integer}
        end
        config value-series
            Description: Value series of pie chart.
            set databind {string}
        end
        set title {string}
        set title-font-size {integer}
        set background {string}
        set color-palette {string}
        set legend [enable|disable]
        set legend-font-size {integer}
        config column
            Description: Table column definition.
            edit <id>
                set header-value {string}
                set detail-value {string}
                set footer-value {string}
                set detail-unit {string}
                set footer-unit {string}
                config mapping
                    Description: Show detail in certain display value for certain condition.
                    edit <id>
                        set op [none|greater|...]
                        set value-type [integer|string]
                        set value1 {string}
                        set value2 {string}
                        set displayname {string}
                    next
                end
            next
        end
    next
end

config report chart

Parameter

Description

Type

Size

name

Chart Widget Name

string

Maximum length: 71

policy

Used by monitor policy.

integer

Minimum value: 0 Maximum value: 4294967295

type

Chart type.

option

-

Option

Description

graph

Graph.

table

Table.

period

Time period.

option

-

Option

Description

last24h

Last 24 hours.

last7d

Last 7 days.

comments

Comment.

string

Maximum length: 127

dataset

Bind dataset to chart.

string

Maximum length: 71

category

Category.

option

-

Option

Description

misc

Miscellaneous.

traffic

Traffic.

event

Event.

virus

Virus.

webfilter

Webfilter.

attack

Attack.

spam

Spam.

dlp

Data leak prevention.

app-ctrl

Application control.

vulnerability

Vulnerability.

favorite

Favorite.

option

-

Option

Description

no

Not a favorite chart.

yes

Favorite chart.

graph-type

Graph type.

option

-

Option

Description

none

None.

bar

Bar Chart.

pie

Pie Chart.

line

Line Chart.

flow

flow Chart.

style

Style.

option

-

Option

Description

auto

Auto.

manual

Manual.

dimension

Dimension.

option

-

Option

Description

2D

2D graphic.

3D

3D graphic.

title

Chart title.

string

Maximum length: 63

title-font-size

Font size of chart title.

integer

Minimum value: 0 Maximum value: 4294967295

background

Chart background.

string

Maximum length: 11

color-palette

Color palette.

string

Maximum length: 11

legend

Enable/Disable Legend area.

option

-

Option

Description

enable

Enable legend area.

disable

Disable legend area.

legend-font-size

Font size of legend area.

integer

Minimum value: 0 Maximum value: 4294967295

config drill-down-charts

Parameter

Description

Type

Size

id

Drill down chart ID.

integer

Minimum value: 0 Maximum value: 4294967295

chart-name

Drill down chart name.

string

Maximum length: 71

status

Enable/disable this drill down chart.

option

-

Option

Description

enable

Enable this drill down chart.

disable

Disable this drill down chart.

config x-series

Parameter

Description

Type

Size

databind

X-series value expression.

string

Maximum length: 127

caption

X-series caption.

string

Maximum length: 35

caption-font-size

X-series caption font size.

integer

Minimum value: 5 Maximum value: 20

font-size

X-series label font size.

integer

Minimum value: 5 Maximum value: 20

label-angle

X-series label angle.

option

-

Option

Description

45-degree

45-degree.

vertical

Vertical.

horizontal

Horizontal.

is-category

X-series represent category or not.

option

-

Option

Description

yes

X-series is category.

no

X-series is not category.

scale-unit

Scale unit.

option

-

Option

Description

minute

Minute.

hour

Hour.

day

Day.

month

Month.

year

Year.

scale-step

Scale step.

integer

Minimum value: 1 Maximum value: 65535

scale-direction

Scale increase or decrease.

option

-

Option

Description

decrease

Decrease.

increase

Increase.

scale-format

Date/time format.

option

-

Option

Description

YYYY-MM-DD-HH-MM

YYYY/MM/DD HH:MM

YYYY-MM-DD HH

YYYY/MM/DD HH

YYYY-MM-DD

YYYY/MM/DD

YYYY-MM

YYYY/MM

YYYY

YYYY

HH-MM

HH:MM

MM-DD

MM:DD

unit

X-series unit.

string

Maximum length: 35

config y-series

Parameter

Description

Type

Size

databind

Y-series value expression.

string

Maximum length: 127

caption

Y-series caption.

string

Maximum length: 35

caption-font-size

Y-series caption font size.

integer

Minimum value: 5 Maximum value: 20

font-size

Y-series label font size.

integer

Minimum value: 5 Maximum value: 20

label-angle

Y-series label angle.

option

-

Option

Description

45-degree

45-degree.

vertical

Vertical.

horizontal

Horizontal.

group

Y-series group option.

string

Maximum length: 127

unit

Y-series unit.

string

Maximum length: 35

extra-y

Allow another Y-series value

option

-

Option

Description

enable

Enable second Y-series.

disable

Disable second Y-series.

extra-databind

Extra Y-series value.

string

Maximum length: 127

y-legend

First Y-series legend type/name.

string

Maximum length: 35

extra-y-legend

Extra Y-series legend type/name.

string

Maximum length: 35

config category-series

Parameter

Description

Type

Size

databind

Category series value expression.

string

Maximum length: 127

font-size

Font size of category-series title.

integer

Minimum value: 5 Maximum value: 20

config value-series

Parameter

Description

Type

Size

databind

Value series value expression.

string

Maximum length: 127

config column

Parameter

Description

Type

Size

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

header-value

Display name of table header.

string

Maximum length: 127

detail-value

Detail value of column.

string

Maximum length: 127

footer-value

Footer value of column.

string

Maximum length: 127

detail-unit

Detail unit of column.

string

Maximum length: 35

footer-unit

Footer unit of column.

string

Maximum length: 35

config mapping

Parameter

Description

Type

Size

id

id

integer

Minimum value: 0 Maximum value: 4294967295

op

Comparision operater.

option

-

Option

Description

none

None.

greater

Greater than.

greater-equal

Greater than or equal to.

less

Less than.

less-equal

Less than or equal to.

equal

Equal to.

between

Between value 1 and value 2.

value-type

Value type.

option

-

Option

Description

integer

Integer.

string

String.

value1

Value 1.

string

Maximum length: 127

value2

Value 2.

string

Maximum length: 127

displayname

Display name.

string

Maximum length: 127

config report chart

config report chart

Report chart widget configuration.

config report chart
    Description: Report chart widget configuration.
    edit <name>
        set policy {integer}
        set type [graph|table]
        set period [last24h|last7d]
        config drill-down-charts
            Description: Drill down charts.
            edit <id>
                set chart-name {string}
                set status [enable|disable]
            next
        end
        set comments {string}
        set dataset {string}
        set category [misc|traffic|...]
        set favorite [no|yes]
        set graph-type [none|bar|...]
        set style [auto|manual]
        set dimension [2D|3D]
        config x-series
            Description: X-series of chart.
            set databind {string}
            set caption {string}
            set caption-font-size {integer}
            set font-size {integer}
            set label-angle [45-degree|vertical|...]
            set is-category [yes|no]
            set scale-unit [minute|hour|...]
            set scale-step {integer}
            set scale-direction [decrease|increase]
            set scale-format [YYYY-MM-DD-HH-MM|YYYY-MM-DD HH|...]
            set unit {string}
        end
        config y-series
            Description: Y-series of chart.
            set databind {string}
            set caption {string}
            set caption-font-size {integer}
            set font-size {integer}
            set label-angle [45-degree|vertical|...]
            set group {string}
            set unit {string}
            set extra-y [enable|disable]
            set extra-databind {string}
            set y-legend {string}
            set extra-y-legend {string}
        end
        config category-series
            Description: Category series of pie chart.
            set databind {string}
            set font-size {integer}
        end
        config value-series
            Description: Value series of pie chart.
            set databind {string}
        end
        set title {string}
        set title-font-size {integer}
        set background {string}
        set color-palette {string}
        set legend [enable|disable]
        set legend-font-size {integer}
        config column
            Description: Table column definition.
            edit <id>
                set header-value {string}
                set detail-value {string}
                set footer-value {string}
                set detail-unit {string}
                set footer-unit {string}
                config mapping
                    Description: Show detail in certain display value for certain condition.
                    edit <id>
                        set op [none|greater|...]
                        set value-type [integer|string]
                        set value1 {string}
                        set value2 {string}
                        set displayname {string}
                    next
                end
            next
        end
    next
end

config report chart

Parameter

Description

Type

Size

name

Chart Widget Name

string

Maximum length: 71

policy

Used by monitor policy.

integer

Minimum value: 0 Maximum value: 4294967295

type

Chart type.

option

-

Option

Description

graph

Graph.

table

Table.

period

Time period.

option

-

Option

Description

last24h

Last 24 hours.

last7d

Last 7 days.

comments

Comment.

string

Maximum length: 127

dataset

Bind dataset to chart.

string

Maximum length: 71

category

Category.

option

-

Option

Description

misc

Miscellaneous.

traffic

Traffic.

event

Event.

virus

Virus.

webfilter

Webfilter.

attack

Attack.

spam

Spam.

dlp

Data leak prevention.

app-ctrl

Application control.

vulnerability

Vulnerability.

favorite

Favorite.

option

-

Option

Description

no

Not a favorite chart.

yes

Favorite chart.

graph-type

Graph type.

option

-

Option

Description

none

None.

bar

Bar Chart.

pie

Pie Chart.

line

Line Chart.

flow

flow Chart.

style

Style.

option

-

Option

Description

auto

Auto.

manual

Manual.

dimension

Dimension.

option

-

Option

Description

2D

2D graphic.

3D

3D graphic.

title

Chart title.

string

Maximum length: 63

title-font-size

Font size of chart title.

integer

Minimum value: 0 Maximum value: 4294967295

background

Chart background.

string

Maximum length: 11

color-palette

Color palette.

string

Maximum length: 11

legend

Enable/Disable Legend area.

option

-

Option

Description

enable

Enable legend area.

disable

Disable legend area.

legend-font-size

Font size of legend area.

integer

Minimum value: 0 Maximum value: 4294967295

config drill-down-charts

Parameter

Description

Type

Size

id

Drill down chart ID.

integer

Minimum value: 0 Maximum value: 4294967295

chart-name

Drill down chart name.

string

Maximum length: 71

status

Enable/disable this drill down chart.

option

-

Option

Description

enable

Enable this drill down chart.

disable

Disable this drill down chart.

config x-series

Parameter

Description

Type

Size

databind

X-series value expression.

string

Maximum length: 127

caption

X-series caption.

string

Maximum length: 35

caption-font-size

X-series caption font size.

integer

Minimum value: 5 Maximum value: 20

font-size

X-series label font size.

integer

Minimum value: 5 Maximum value: 20

label-angle

X-series label angle.

option

-

Option

Description

45-degree

45-degree.

vertical

Vertical.

horizontal

Horizontal.

is-category

X-series represent category or not.

option

-

Option

Description

yes

X-series is category.

no

X-series is not category.

scale-unit

Scale unit.

option

-

Option

Description

minute

Minute.

hour

Hour.

day

Day.

month

Month.

year

Year.

scale-step

Scale step.

integer

Minimum value: 1 Maximum value: 65535

scale-direction

Scale increase or decrease.

option

-

Option

Description

decrease

Decrease.

increase

Increase.

scale-format

Date/time format.

option

-

Option

Description

YYYY-MM-DD-HH-MM

YYYY/MM/DD HH:MM

YYYY-MM-DD HH

YYYY/MM/DD HH

YYYY-MM-DD

YYYY/MM/DD

YYYY-MM

YYYY/MM

YYYY

YYYY

HH-MM

HH:MM

MM-DD

MM:DD

unit

X-series unit.

string

Maximum length: 35

config y-series

Parameter

Description

Type

Size

databind

Y-series value expression.

string

Maximum length: 127

caption

Y-series caption.

string

Maximum length: 35

caption-font-size

Y-series caption font size.

integer

Minimum value: 5 Maximum value: 20

font-size

Y-series label font size.

integer

Minimum value: 5 Maximum value: 20

label-angle

Y-series label angle.

option

-

Option

Description

45-degree

45-degree.

vertical

Vertical.

horizontal

Horizontal.

group

Y-series group option.

string

Maximum length: 127

unit

Y-series unit.

string

Maximum length: 35

extra-y

Allow another Y-series value

option

-

Option

Description

enable

Enable second Y-series.

disable

Disable second Y-series.

extra-databind

Extra Y-series value.

string

Maximum length: 127

y-legend

First Y-series legend type/name.

string

Maximum length: 35

extra-y-legend

Extra Y-series legend type/name.

string

Maximum length: 35

config category-series

Parameter

Description

Type

Size

databind

Category series value expression.

string

Maximum length: 127

font-size

Font size of category-series title.

integer

Minimum value: 5 Maximum value: 20

config value-series

Parameter

Description

Type

Size

databind

Value series value expression.

string

Maximum length: 127

config column

Parameter

Description

Type

Size

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

header-value

Display name of table header.

string

Maximum length: 127

detail-value

Detail value of column.

string

Maximum length: 127

footer-value

Footer value of column.

string

Maximum length: 127

detail-unit

Detail unit of column.

string

Maximum length: 35

footer-unit

Footer unit of column.

string

Maximum length: 35

config mapping

Parameter

Description

Type

Size

id

id

integer

Minimum value: 0 Maximum value: 4294967295

op

Comparision operater.

option

-

Option

Description

none

None.

greater

Greater than.

greater-equal

Greater than or equal to.

less

Less than.

less-equal

Less than or equal to.

equal

Equal to.

between

Between value 1 and value 2.

value-type

Value type.

option

-

Option

Description

integer

Integer.

string

String.

value1

Value 1.

string

Maximum length: 127

value2

Value 2.

string

Maximum length: 127

displayname

Display name.

string

Maximum length: 127