forti_gate_traffic = { # The name of the log format log.format.format_label = "FortiGate Traffic Log Format" log.miscellaneous.log_data_type = "firewall" log.miscellaneous.log_format_type = "firewall" # The log is in this format if any of the first ten lines match this regular expression log.format.autodetect_regular_expression = "[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9] log_id=[^ ]+ " # All log field parsing will be done using the parsing filters log.format.parse_only_with_filters = "true" # Entries are called accesses statistics.miscellaneous.entry_name = "accesses" # The format of dates and times in this log log.format.date_format = "auto" log.format.time_format = "auto" # Log fields log.fields = { date = { label = "$lang_stats.field_labels.date" type = "date" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # date time = { label = "$lang_stats.field_labels.time" type = "time" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # time log_id = { label = "$lang_stats.field_labels.log_id" type = "flat" index = 0 subindex = 0 } # log_id type = { label = "$lang_stats.field_labels.type" type = "flat" index = 0 subindex = 0 } # type subtype = { label = "$lang_stats.field_labels.subtype" type = "flat" index = 0 subindex = 0 } # subtype pri = { label = "$lang_stats.field_labels.pri" type = "flat" index = 0 subindex = 0 } # pri vd = { label = "$lang_stats.field_labels.vd" type = "flat" index = 0 subindex = 0 } # vd sn = { label = "$lang_stats.field_labels.sn" type = "flat" index = 0 subindex = 0 } # sn duration = { label = "$lang_stats.field_labels.duration" type = "flat" index = 0 subindex = 0 } # duration rule = { label = "$lang_stats.field_labels.rule" type = "flat" index = 0 subindex = 0 } # rule policyid = { label = "$lang_stats.field_labels.policyid" type = "flat" index = 0 subindex = 0 } # policyid src = { label = "$lang_stats.field_labels.src" type = "host" index = 0 subindex = 0 hierarchy_dividers = "." left_to_right = false leading_divider = "false" } # src srcname = { label = "$lang_stats.field_labels.srcname" type = "flat" index = 0 subindex = 0 } # srcname src_port = { label = "$lang_stats.field_labels.src_port" type = "flat" index = 0 subindex = 0 } # src_port src_int = { label = "$lang_stats.field_labels.src_int" type = "flat" index = 0 subindex = 0 } # src_int dst = { label = "$lang_stats.field_labels.dst" type = "flat" index = 0 subindex = 0 } # dst dstname = { label = "$lang_stats.field_labels.dstname" type = "flat" index = 0 subindex = 0 } # dstname dst_port = { label = "$lang_stats.field_labels.dst_port" type = "flat" index = 0 subindex = 0 } # dst_port dst_int = { label = "$lang_stats.field_labels.dst_int" type = "flat" index = 0 subindex = 0 } # dst_int tran_ip = { label = "$lang_stats.field_labels.tran_ip" type = "flat" index = 0 subindex = 0 } # tran_ip tran_port = { label = "$lang_stats.field_labels.tran_port" type = "flat" index = 0 subindex = 0 } # tran_port dir_disp = { label = "$lang_stats.field_labels.dir_disp" type = "flat" index = 0 subindex = 0 } # dir_disp tran_disp = { label = "$lang_stats.field_labels.tran_disp" type = "flat" index = 0 subindex = 0 } # tran_disp status = { label = "$lang_stats.field_labels.status" type = "flat" index = 0 subindex = 0 } # status proto = { label = "$lang_stats.field_labels.proto" type = "flat" index = 0 subindex = 0 } # proto service = { label = "$lang_stats.field_labels.service" type = "flat" index = 0 subindex = 0 } # service vpn = { label = "$lang_stats.field_labels.vpn" type = "flat" index = 0 subindex = 0 } # vpn # message = { # label = "$lang_stats.field_labels.message" # type = "flat" # index = 0 # subindex = 0 # } # message sent = { label = "$lang_stats.field_labels.sent" type = "size" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # sent rcvd = { label = "$lang_stats.field_labels.rcvd" type = "flat" index = 0 subindex = 0 } # rcvd sent_pkt = { label = "$lang_stats.field_labels.sent_pkt" type = "flat" index = 0 subindex = 0 } # sent_pkt rcvd_pkt = { label = "$lang_stats.field_labels.rcvd_pkt" type = "flat" index = 0 subindex = 0 } # rcvd_pkt } # log.fields # # Log Parsing Filters log.parsing_filters = { # Parse out the date and time 1 = { label = "1" comment = "" value = "collect_fields_using_regexp('^()([0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]) ([0-9][0-9]:[0-9][0-9]:[0-9][0-9])', '*KEY*,date,time')" } # 1 # Parse out the space-separated, =-divided variables 2 = { label = "2" comment = "" value = "collect_listed_fields_using_regexp('()(log_id=.*)$', ' ', '=', '')" } # 2 # Accept this entry 3 = { label = "3" comment = "" value = "accept_collected_entry_using_regexp('()', false)" } # 3 } # log.parsing_filters # Database fields database.fields = { date_time = { label = "$lang_stats.field_labels.date_time" log_field = "date_time" type = "string" suppress_top = 0 suppress_bottom = 3 display_format_type = "date_time" } # date_time day_of_week = { label = "$lang_stats.field_labels.day_of_week" log_field = "day_of_week" type = "string" suppress_top = 0 suppress_bottom = 2 display_format_type = "day_of_week" } # day_of_week hour_of_day = { label = "$lang_stats.field_labels.hour_of_day" log_field = "hour_of_day" type = "string" suppress_top = 0 suppress_bottom = 2 display_format_type = "hour_of_day" } # hour_of_day log_id = { label = "$lang_stats.field_labels.log_id" log_field = "type" type = "string" suppress_top = 0 suppress_bottom = 2 } # log_id type = { label = "$lang_stats.field_labels.type" log_field = "type" type = "string" suppress_top = 0 suppress_bottom = 2 } # type subtype = { label = "$lang_stats.field_labels.subtype" log_field = "subtype" type = "string" suppress_top = 0 suppress_bottom = 2 } # subtype pri = { label = "$lang_stats.field_labels.pri" log_field = "pri" type = "string" suppress_top = 0 suppress_bottom = 2 } # pri vd = { label = "$lang_stats.field_labels.vd" log_field = "vd" type = "string" suppress_top = 0 suppress_bottom = 2 } # vd sn = { label = "$lang_stats.field_labels.sn" log_field = "sn" type = "string" suppress_top = 0 suppress_bottom = 2 } # sn rule = { label = "$lang_stats.field_labels.rule" log_field = "rule" type = "string" suppress_top = 0 suppress_bottom = 2 } # rule policyid = { label = "$lang_stats.field_labels.policyid" log_field = "policyid" type = "string" suppress_top = 0 suppress_bottom = 2 } # policyid src = { label = "$lang_stats.field_labels.src" log_field = "src" type = "string" suppress_top = 0 suppress_bottom = 2 } # src srcname = { label = "$lang_stats.field_labels.srcname" log_field = "srcname" type = "string" suppress_top = 0 suppress_bottom = 2 } # srcname src_port = { label = "$lang_stats.field_labels.src_port" log_field = "src_port" type = "string" suppress_top = 0 suppress_bottom = 2 } # src_port src_int = { label = "$lang_stats.field_labels.src_int" log_field = "src_int" type = "string" suppress_top = 0 suppress_bottom = 2 } # src_int dst = { label = "$lang_stats.field_labels.dst" log_field = "dst" type = "string" suppress_top = 0 suppress_bottom = 2 } # dst dstname = { label = "$lang_stats.field_labels.dstname" log_field = "dstname" type = "string" suppress_top = 0 suppress_bottom = 2 } # dstname dst_port = { label = "$lang_stats.field_labels.dst_port" log_field = "dst_port" type = "string" suppress_top = 0 suppress_bottom = 2 } # dst_port dst_int = { label = "$lang_stats.field_labels.dst_int" log_field = "dst_int" type = "string" suppress_top = 0 suppress_bottom = 2 } # dst_int tran_ip = { label = "$lang_stats.field_labels.tran_ip" log_field = "tran_ip" type = "string" suppress_top = 0 suppress_bottom = 2 } # tran_ip tran_port = { label = "$lang_stats.field_labels.tran_port" log_field = "tran_port" type = "string" suppress_top = 0 suppress_bottom = 2 } # tran_port dir_disp = { label = "$lang_stats.field_labels.dir_disp" log_field = "dir_disp" type = "string" suppress_top = 0 suppress_bottom = 2 } # dir_disp tran_disp = { label = "$lang_stats.field_labels.tran_disp" log_field = "tran_disp" type = "string" suppress_top = 0 suppress_bottom = 2 } # tran_disp status = { label = "$lang_stats.field_labels.status" log_field = "status" type = "string" suppress_top = 0 suppress_bottom = 2 } # status proto = { label = "$lang_stats.field_labels.proto" log_field = "proto" type = "string" suppress_top = 0 suppress_bottom = 2 } # proto service = { label = "$lang_stats.field_labels.service" log_field = "service" type = "string" suppress_top = 0 suppress_bottom = 2 } # service vpn = { label = "$lang_stats.field_labels.vpn" log_field = "vpn" type = "string" suppress_top = 0 suppress_bottom = 2 } # vpn } # database.fields # Log Filters log.filters = { # Use "source IP" as the visitor id mark_entry = { label = '$lang_admin.log_filters.mark_entry_label' comment = '$lang_admin.log_filters.mark_entry_comment' value = 'accesses = 1;' } # mark_entry } # log.filters database.numerical_fields = { accesses = { label = "$lang_stats.field_labels.accesses" default = true requires_log_field = false type = "int" display_format_type = "integer" entries_field = true } # accesses visitors = { label = "$lang_stats.field_labels.visitors" default = false requires_log_field = true log_field = "src" type = "unique" display_format_type = "integer" } # visitors sent = { label = "$lang_stats.field_labels.sent" default = false requires_log_field = true log_field = "sent" type = "float" display_format_type = "bandwidth" } # sent rcvd = { label = "$lang_stats.field_labels.rcvd" default = false requires_log_field = true log_field = "rcvd" type = "float" display_format_type = "bandwidth" } # rcvd sent_pkt = { label = "$lang_stats.field_labels.sent_pkt" default = false requires_log_field = true log_field = "sent_pkt" type = "int" display_format_type = "integer" } # sent_pkt rcvd_pkt = { label = "$lang_stats.field_labels.rcvd_pkt" default = false requires_log_field = true log_field = "rcvd_pkt" type = "int" display_format_type = "integer" } # rcvd_pkt duration = { label = $lang_stats.field_labels.duration default = false requires_log_field = true type = int display_format_type = duration_milliseconds } # duration } # database.numerical_fields create_profile_wizard_options = { date_time_tracking = true host_tracking = true # How the reports should be grouped in the report menu report_groups = { date_time_group = "" actions_group = { type = true subtype = true pri = true status = true } source_group = { src = true srcname = true src_port = true src_int = true } destination_group = { dst = true dstname = true dst_port = true dst_int = true dir_disp = true } translated_group = { tran_ip = true tran_port = true tran_disp = true } other_group = { policyid = true status = true proto = true service = true log_id = true vd = true sn = true rule = true vpn = true } } # report_groups } # create_profile_wizard_options not_supported = { pageviews = true sessionpages = true } # not_supported } # forti_gate_traffic