Fortinet black logo

CLI Reference

config report chart

config report chart

Note

This command is available for model(s): FortiGate 1000D, FortiGate 101E, FortiGate 101F, FortiGate 1101E, FortiGate 1200D, FortiGate 1500DT, FortiGate 1500D, FortiGate 1801F, FortiGate 2000E, FortiGate 201E, FortiGate 201F, FortiGate 2201E, FortiGate 2500E, FortiGate 2600F, FortiGate 2601F, FortiGate 3000D, FortiGate 300D, FortiGate 301E, FortiGate 3100D, FortiGate 3200D, FortiGate 3301E, FortiGate 3401E, FortiGate 3601E, FortiGate 3700D, FortiGate 3800D, FortiGate 3810D, FortiGate 3815D, FortiGate 401E, FortiGate 4201F, FortiGate 4401F, FortiGate 5001D, FortiGate 5001E1, FortiGate 500D, FortiGate 501E, FortiGate 600D, FortiGate 601E, FortiGate 61E, FortiGate 61F, FortiGate 800D, FortiGate 81E-POE, FortiGate 81E, FortiGate 81F-POE, FortiGate 81F, FortiGate 900D, FortiGate 91E, FortiGate VM64, FortiWiFi 61E, FortiWiFi 61F, FortiWiFi 81F 2R 3G4G-POE, FortiWiFi 81F 2R-POE, FortiWiFi 81F 2R.

It is not available for: FortiGate 100EF, FortiGate 100E, FortiGate 100F, FortiGate 1100E, FortiGate 140E-POE, FortiGate 140E, FortiGate 1800F, FortiGate 200E, FortiGate 200F, FortiGate 2200E, FortiGate 300E, FortiGate 3300E, FortiGate 3400E, FortiGate 3600E, FortiGate 3960E, FortiGate 3980E, FortiGate 400D, FortiGate 400E Bypass, FortiGate 400E, FortiGate 40F 3G4G, FortiGate 40F, FortiGate 4200F, FortiGate 4400F, FortiGate 5001E, FortiGate 500E, FortiGate 600E, FortiGate 60E DSLJ, FortiGate 60E DSL, FortiGate 60E-POE, FortiGate 60E, FortiGate 60F, FortiGate 80E-POE, FortiGate 80E, FortiGate 80F Bypass, FortiGate 80F-POE, FortiGate 80F, FortiGate 90E, FortiGateRugged 60F 3G4G, FortiGateRugged 60F, FortiWiFi 40F 3G4G, FortiWiFi 40F, FortiWiFi 60E DSLJ, FortiWiFi 60E DSL, FortiWiFi 60E, FortiWiFi 60F.

Report chart widget configuration.

config report chart
    Description: Report chart widget configuration.
    edit <name>
        set background {string}
        set category [misc|traffic|...]
        config category-series
            Description: Category series of pie chart.
            set databind {string}
            set font-size {integer}
        end
        set color-palette {string}
        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
        set comments {string}
        set dataset {string}
        set dimension [2D|3D]
        config drill-down-charts
            Description: Drill down charts.
            edit <id>
                set chart-name {string}
                set status [enable|disable]
            next
        end
        set favorite [no|yes]
        set graph-type [none|bar|...]
        set legend [enable|disable]
        set legend-font-size {integer}
        set period [last24h|last7d]
        set policy {integer}
        set style [auto|manual]
        set title {string}
        set title-font-size {integer}
        set type [graph|table]
        config value-series
            Description: Value series of pie chart.
            set databind {string}
        end
        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
    next
end

config report chart

Parameter

Description

Type

Size

Default

background

Chart background.

string

Maximum length: 11

category

Category.

option

-

misc

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.

color-palette

Color palette.

string

Maximum length: 11

comments

Comment.

string

Maximum length: 127

dataset

Bind dataset to chart.

string

Maximum length: 71

dimension

Dimension.

option

-

3D

Option

Description

2D

2D graphic.

3D

3D graphic.

favorite

Favorite.

option

-

no

Option

Description

no

Not a favorite chart.

yes

Favorite chart.

graph-type

Graph type.

option

-

none

Option

Description

none

None.

bar

Bar Chart.

pie

Pie Chart.

line

Line Chart.

flow

flow Chart.

legend

Enable/Disable Legend area.

option

-

enable

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

0

name

Chart Widget Name

string

Maximum length: 71

period

Time period.

option

-

last24h

Option

Description

last24h

Last 24 hours.

last7d

Last 7 days.

policy

Used by monitor policy.

integer

Minimum value: 0 Maximum value: 4294967295

0

style

Style.

option

-

auto

Option

Description

auto

Auto.

manual

Manual.

title

Chart title.

string

Maximum length: 63

title-font-size

Font size of chart title.

integer

Minimum value: 0 Maximum value: 4294967295

0

type

Chart type.

option

-

graph

Option

Description

graph

Graph.

table

Table.

config category-series

Parameter

Description

Type

Size

Default

databind

Category series value expression.

string

Maximum length: 127

font-size

Font size of category-series title.

integer

Minimum value: 5 Maximum value: 20

0

config column

Parameter

Description

Type

Size

Default

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

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

Default

id

id

integer

Minimum value: 0 Maximum value: 4294967295

0

op

Comparision operater.

option

-

none

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

-

integer

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 drill-down-charts

Parameter

Description

Type

Size

Default

id

Drill down chart ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

chart-name

Drill down chart name.

string

Maximum length: 71

status

Enable/disable this drill down chart.

option

-

disable

Option

Description

enable

Enable this drill down chart.

disable

Disable this drill down chart.

config value-series

Parameter

Description

Type

Size

Default

databind

Value series value expression.

string

Maximum length: 127

config x-series

Parameter

Description

Type

Size

Default

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

0

font-size

X-series label font size.

integer

Minimum value: 5 Maximum value: 20

0

label-angle

X-series label angle.

option

-

45-degree

Option

Description

45-degree

45-degree.

vertical

Vertical.

horizontal

Horizontal.

is-category

X-series represent category or not.

option

-

yes

Option

Description

yes

X-series is category.

no

X-series is not category.

scale-unit

Scale unit.

option

-

day

Option

Description

minute

Minute.

hour

Hour.

day

Day.

month

Month.

year

Year.

scale-step

Scale step.

integer

Minimum value: 1 Maximum value: 65535

1

scale-direction

Scale increase or decrease.

option

-

decrease

Option

Description

decrease

Decrease.

increase

Increase.

scale-format

Date/time format.

option

-

YYYY-MM-DD-HH-MM

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

Default

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

0

font-size

Y-series label font size.

integer

Minimum value: 5 Maximum value: 20

0

label-angle

Y-series label angle.

option

-

horizontal

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

-

disable

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 report chart

Note

This command is available for model(s): FortiGate 1000D, FortiGate 101E, FortiGate 101F, FortiGate 1101E, FortiGate 1200D, FortiGate 1500DT, FortiGate 1500D, FortiGate 1801F, FortiGate 2000E, FortiGate 201E, FortiGate 201F, FortiGate 2201E, FortiGate 2500E, FortiGate 2600F, FortiGate 2601F, FortiGate 3000D, FortiGate 300D, FortiGate 301E, FortiGate 3100D, FortiGate 3200D, FortiGate 3301E, FortiGate 3401E, FortiGate 3601E, FortiGate 3700D, FortiGate 3800D, FortiGate 3810D, FortiGate 3815D, FortiGate 401E, FortiGate 4201F, FortiGate 4401F, FortiGate 5001D, FortiGate 5001E1, FortiGate 500D, FortiGate 501E, FortiGate 600D, FortiGate 601E, FortiGate 61E, FortiGate 61F, FortiGate 800D, FortiGate 81E-POE, FortiGate 81E, FortiGate 81F-POE, FortiGate 81F, FortiGate 900D, FortiGate 91E, FortiGate VM64, FortiWiFi 61E, FortiWiFi 61F, FortiWiFi 81F 2R 3G4G-POE, FortiWiFi 81F 2R-POE, FortiWiFi 81F 2R.

It is not available for: FortiGate 100EF, FortiGate 100E, FortiGate 100F, FortiGate 1100E, FortiGate 140E-POE, FortiGate 140E, FortiGate 1800F, FortiGate 200E, FortiGate 200F, FortiGate 2200E, FortiGate 300E, FortiGate 3300E, FortiGate 3400E, FortiGate 3600E, FortiGate 3960E, FortiGate 3980E, FortiGate 400D, FortiGate 400E Bypass, FortiGate 400E, FortiGate 40F 3G4G, FortiGate 40F, FortiGate 4200F, FortiGate 4400F, FortiGate 5001E, FortiGate 500E, FortiGate 600E, FortiGate 60E DSLJ, FortiGate 60E DSL, FortiGate 60E-POE, FortiGate 60E, FortiGate 60F, FortiGate 80E-POE, FortiGate 80E, FortiGate 80F Bypass, FortiGate 80F-POE, FortiGate 80F, FortiGate 90E, FortiGateRugged 60F 3G4G, FortiGateRugged 60F, FortiWiFi 40F 3G4G, FortiWiFi 40F, FortiWiFi 60E DSLJ, FortiWiFi 60E DSL, FortiWiFi 60E, FortiWiFi 60F.

Report chart widget configuration.

config report chart
    Description: Report chart widget configuration.
    edit <name>
        set background {string}
        set category [misc|traffic|...]
        config category-series
            Description: Category series of pie chart.
            set databind {string}
            set font-size {integer}
        end
        set color-palette {string}
        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
        set comments {string}
        set dataset {string}
        set dimension [2D|3D]
        config drill-down-charts
            Description: Drill down charts.
            edit <id>
                set chart-name {string}
                set status [enable|disable]
            next
        end
        set favorite [no|yes]
        set graph-type [none|bar|...]
        set legend [enable|disable]
        set legend-font-size {integer}
        set period [last24h|last7d]
        set policy {integer}
        set style [auto|manual]
        set title {string}
        set title-font-size {integer}
        set type [graph|table]
        config value-series
            Description: Value series of pie chart.
            set databind {string}
        end
        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
    next
end

config report chart

Parameter

Description

Type

Size

Default

background

Chart background.

string

Maximum length: 11

category

Category.

option

-

misc

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.

color-palette

Color palette.

string

Maximum length: 11

comments

Comment.

string

Maximum length: 127

dataset

Bind dataset to chart.

string

Maximum length: 71

dimension

Dimension.

option

-

3D

Option

Description

2D

2D graphic.

3D

3D graphic.

favorite

Favorite.

option

-

no

Option

Description

no

Not a favorite chart.

yes

Favorite chart.

graph-type

Graph type.

option

-

none

Option

Description

none

None.

bar

Bar Chart.

pie

Pie Chart.

line

Line Chart.

flow

flow Chart.

legend

Enable/Disable Legend area.

option

-

enable

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

0

name

Chart Widget Name

string

Maximum length: 71

period

Time period.

option

-

last24h

Option

Description

last24h

Last 24 hours.

last7d

Last 7 days.

policy

Used by monitor policy.

integer

Minimum value: 0 Maximum value: 4294967295

0

style

Style.

option

-

auto

Option

Description

auto

Auto.

manual

Manual.

title

Chart title.

string

Maximum length: 63

title-font-size

Font size of chart title.

integer

Minimum value: 0 Maximum value: 4294967295

0

type

Chart type.

option

-

graph

Option

Description

graph

Graph.

table

Table.

config category-series

Parameter

Description

Type

Size

Default

databind

Category series value expression.

string

Maximum length: 127

font-size

Font size of category-series title.

integer

Minimum value: 5 Maximum value: 20

0

config column

Parameter

Description

Type

Size

Default

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

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

Default

id

id

integer

Minimum value: 0 Maximum value: 4294967295

0

op

Comparision operater.

option

-

none

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

-

integer

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 drill-down-charts

Parameter

Description

Type

Size

Default

id

Drill down chart ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

chart-name

Drill down chart name.

string

Maximum length: 71

status

Enable/disable this drill down chart.

option

-

disable

Option

Description

enable

Enable this drill down chart.

disable

Disable this drill down chart.

config value-series

Parameter

Description

Type

Size

Default

databind

Value series value expression.

string

Maximum length: 127

config x-series

Parameter

Description

Type

Size

Default

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

0

font-size

X-series label font size.

integer

Minimum value: 5 Maximum value: 20

0

label-angle

X-series label angle.

option

-

45-degree

Option

Description

45-degree

45-degree.

vertical

Vertical.

horizontal

Horizontal.

is-category

X-series represent category or not.

option

-

yes

Option

Description

yes

X-series is category.

no

X-series is not category.

scale-unit

Scale unit.

option

-

day

Option

Description

minute

Minute.

hour

Hour.

day

Day.

month

Month.

year

Year.

scale-step

Scale step.

integer

Minimum value: 1 Maximum value: 65535

1

scale-direction

Scale increase or decrease.

option

-

decrease

Option

Description

decrease

Decrease.

increase

Increase.

scale-format

Date/time format.

option

-

YYYY-MM-DD-HH-MM

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

Default

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

0

font-size

Y-series label font size.

integer

Minimum value: 5 Maximum value: 20

0

label-angle

Y-series label angle.

option

-

horizontal

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

-

disable

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