# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. netwall = { # sessions, hits, bandwidth, pageviews, and visitors. # The name of the log format log.format.format_label = "Netwall 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 = "^HOST=[^ ]+ DATE=[0-9]+ TYPE=[A-Z]+" # All log field parsing will be done using the parsing filters log.format.parse_only_with_filters = "true" # The format of dates and times in this log log.format.date_format = "yyyymmddhhmmss" log.format.time_format = "yyyymmddhhmmss" # Entries are called accesses statistics.miscellaneous.entry_name = "accesses" # Log fields - host date_time type lvl prog rule action src_ip src src_port dst_ip dst dst_port service proto itype side_in side_out side_exp cnx_state lvl_info ibyte ipacket ibyte_ack ipacket_ack log.fields = { host = { label = "$lang_stats.field_labels.host" type = "flat" index = 0 subindex = 0 } # host date_time = { label = "$lang_stats.field_labels.date_time" type = "date_time" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # date_time type = { label = "$lang_stats.field_labels.type" type = "flat" index = 0 subindex = 0 } # type lvl = { label = "$lang_stats.field_labels.lvl" type = "flat" index = 0 subindex = 0 } # lvl prog = { label = "$lang_stats.field_labels.prog" type = "flat" index = 0 subindex = 0 } # prog rule = { label = "$lang_stats.field_labels.rule" type = "flat" index = 0 subindex = 0 } # rule action = { label = "$lang_stats.field_labels.action" type = "flat" index = 0 subindex = 0 } # action src_ip = { label = "$lang_stats.field_labels.src_ip" type = "host" index = 0 subindex = 0 hierarchy_dividers = "." left_to_right = false leading_divider = "false" } # src.ip src = { label = "$lang_stats.field_labels.src" type = "flat" index = 0 subindex = 0 } # src src_port = { label = "$lang_stats.field_labels.src_port" type = "flat" index = 0 subindex = 0 } # src_port dst_ip = { label = "$lang_stats.field_labels.dst_ip" type = "flat" index = 0 subindex = 0 } # dst_ip dst = { label = "$lang_stats.field_labels.dst" type = "flat" index = 0 subindex = 0 } # dst dst_port = { label = "$lang_stats.field_labels.dst_port" type = "flat" index = 0 subindex = 0 } # dst_port service = { label = "$lang_stats.field_labels.service" type = "flat" index = 0 subindex = 0 } # service proto = { label = "$lang_stats.field_labels.proto" type = "flat" index = 0 subindex = 0 } # proto itype = { label = "$lang_stats.field_labels.itype" type = "flat" index = 0 subindex = 0 } # itype side_in = { label = "$lang_stats.field_labels.side_in" type = "flat" index = 0 subindex = 0 } # side_in side_out = { label = "$lang_stats.field_labels.side_out" type = "flat" index = 0 subindex = 0 } # side_out side_exp = { label = "$lang_stats.field_labels.side_exp" type = "flat" index = 0 subindex = 0 } # side_exp cnx_state = { label = "$lang_stats.field_labels.cnx_state" type = "flat" index = 0 subindex = 0 } # cnx_state lvl_info = { label = "$lang_stats.field_labels.lvl_info" type = "flat" index = 0 subindex = 0 } # lvl_info bytes = { label = "$lang_stats.field_labels.bytes" type = "size" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # bytes ipacket = { label = "$lang_stats.field_labels.ipacket" type = "flat" index = 0 subindex = 0 } # ipacket ibyte_ack = { label = "$lang_stats.field_labels.ibyte_ack" type = "flat" index = 0 subindex = 0 } # ibyte_ack ipacket_ack = { label = "$lang_stats.field_labels.ipacket_ack" type = "flat" index = 0 subindex = 0 } # ipacket_ack } # log.fields # # Log Parsing Filters log.parsing_filters = { # Parse out the space-separated, =-divided variables 1 = { label = "1" comment = "" value = "collect_listed_fields_using_regexp('^()HOST=[^ ]+ DATE=[^ ]+ (.*)$', ' ', '=', 'SRC.IP=src_ip,DST.IP=dst_ip,SIDE.IN=side_in,SIDE.OUT=side_out,SIDE.EXP=side_exp,CNX.STATE=cnx_state,LVL.INFO=lvl_info,IBYTE.ACK=ibyte_ack,IPACKET.ACK=ipacket_ack,IBYTE=bytes')" } # 1 # Parse out the date, time and 2 = { label = "2" comment = "" value = "collect_fields_using_regexp('^()HOST=([^ ]+) DATE=([^ ]+) ', '*KEY*,host,date_time')" } # 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 host = { label = "$lang_stats.field_labels.host" log_field = "host" type = "string" suppress_top = 0 suppress_bottom = 2 } # host type = { label = "$lang_stats.field_labels.type" log_field = "type" type = "string" suppress_top = 0 suppress_bottom = 2 } # type lvl = { label = "$lang_stats.field_labels.lvl" log_field = "lvl" type = "string" suppress_top = 0 suppress_bottom = 2 } # lvl prog = { label = "$lang_stats.field_labels.prog" log_field = "prog" type = "string" suppress_top = 0 suppress_bottom = 2 } # prog rule = { label = "$lang_stats.field_labels.rule" log_field = "rule" type = "string" suppress_top = 0 suppress_bottom = 2 } # rule proto = { label = "$lang_stats.field_labels.proto" log_field = "proto" type = "string" suppress_top = 0 suppress_bottom = 2 } # proto action = { label = "$lang_stats.field_labels.action" log_field = "action" type = "string" suppress_top = 0 suppress_bottom = 2 } # action src_ip = { label = "$lang_stats.field_labels.src_ip" log_field = "src_ip" type = "string" suppress_top = 0 suppress_bottom = 2 } # src_ip src = { label = "$lang_stats.field_labels.src" log_field = "src" type = "string" suppress_top = 0 suppress_bottom = 2 } # src src_port = { label = "$lang_stats.field_labels.src_port" log_field = "src_port" type = "string" suppress_top = 0 suppress_bottom = 2 } # src_port dst_ip = { label = "$lang_stats.field_labels.dst_ip" log_field = "dst_ip" type = "string" suppress_top = 0 suppress_bottom = 2 } # dst_ip dst = { label = "$lang_stats.field_labels.dst" log_field = "dst" type = "string" suppress_top = 0 suppress_bottom = 2 } # dst dst_port = { label = "$lang_stats.field_labels.dst_port" log_field = "dst_port" type = "string" suppress_top = 0 suppress_bottom = 2 } # dst_port service = { label = "$lang_stats.field_labels.service" log_field = "service" type = "string" suppress_top = 0 suppress_bottom = 2 } # service itype = { label = "$lang_stats.field_labels.itype" log_field = "itype" type = "string" suppress_top = 0 suppress_bottom = 2 } # itype side_in = { label = "$lang_stats.field_labels.side_in" log_field = "side_in" type = "string" suppress_top = 0 suppress_bottom = 2 } # side_in side_out = { label = "$lang_stats.field_labels.side_out" log_field = "side_out" type = "string" suppress_top = 0 suppress_bottom = 2 } # side_out side_exp = { label = "$lang_stats.field_labels.side_exp" log_field = "side_exp" type = "string" suppress_top = 0 suppress_bottom = 2 } # side_exp cnx_state = { label = "$lang_stats.field_labels.cnx_state" log_field = "cnx_state" type = "string" suppress_top = 0 suppress_bottom = 2 } # cnx_state lvl_info = { label = "$lang_stats.field_labels.lvl_info" log_field = "lvl_info" type = "string" suppress_top = 0 suppress_bottom = 2 } # lvl_info ibyte_ack = { label = "$lang_stats.field_labels.ibyte_ack" log_field = "ibyte_ack" type = "string" suppress_top = 0 suppress_bottom = 2 } # ibyte_ack ipacket_ack = { label = "$lang_stats.field_labels.ipacket_ack" log_field = "ipacket_ack" type = "string" suppress_top = 0 suppress_bottom = 2 } # ipacket_ack } # database.fields # Log Filters log.filters = { 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.ip" type = "unique" display_format_type = "integer" } # visitors bytes = { label = "$lang_stats.field_labels.bytes" default = false requires_log_field = true log_field = "bytes" type = "float" display_format_type = "bandwidth" } # bytes } # 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 = "" host = "true" type = true lvl = true lvl_info = true prog = true rule = true action = true proto = true service = true src = true src_ip = true src_port = true dst = true dst_ip = true dst_port = true itype = true side_in = true side_out = true side_exp = true cnx_state = true ibyte_ack = true ipacket_ack = true } # report_groups } # create_profile_wizard_options not_supported = { pageviews = true } # not_supported } # netwall