lucent_brick = { # The name of the log format # The name of the log format log.format.format_label = "Lucent Brick" log.miscellaneous.log_data_type = "network" 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]+:[a-z]:[a-z][^:]*:[0-9]+[+-][0-9]+:[a-z][^:]*:[a-z_]+:[A-Z]+:[0-9.]+:" # 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 = "seconds_since_jan1_1970" log.format.time_format = "hhmmss" # Extract date from #START lines log.format.global_date_regular_expression = "^#START.*\\(([0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9])" statistics.miscellaneous.entry_name = "accesses" # Log fields log.fields = { type = { label = "$lang_stats.field_labels.type" type = "flat" index = 0 subindex = 0 } # type source_type = { label = "$lang_stats.field_labels.source_type" type = "flat" index = 0 subindex = 0 } # source_type source = { label = "$lang_stats.field_labels.source" type = "flat" index = 0 subindex = 0 } # source time = { label = "$lang_stats.field_labels.time" type = "time" index = 0 subindex = 0 hierarchy_dividers = "." left_to_right = false leading_divider = "false" } # time group = { label = "$lang_stats.field_labels.group" type = "flat" index = 0 subindex = 0 } # group zone = { label = "$lang_stats.field_labels.zone" type = "flat" index = 0 subindex = 0 } # zone direction = { label = "$lang_stats.field_labels.direction" type = "flat" index = 0 subindex = 0 } # direction source_ip = { label = "$lang_stats.field_labels.source_ip" type = "flat" index = 0 subindex = 0 } # source_ip destination_ip = { label = "$lang_stats.field_labels.destination_ip" type = "flat" index = 0 subindex = 0 } # destination_ip protocol = { label = "$lang_stats.field_labels.protocol" type = "flat" index = 0 subindex = 0 } # protocol source_port = { label = "$lang_stats.field_labels.source_port" type = "flat" index = 0 subindex = 0 } # source_port destination_port = { label = "$lang_stats.field_labels.destination_port" type = "flat" index = 0 subindex = 0 } # destination_port action = { label = "$lang_stats.field_labels.action" type = "flat" index = 0 subindex = 0 } # action forward_bytes = { label = "$lang_stats.field_labels.forward_bytes" type = "flat" index = 0 subindex = 0 } # forward_bytes reverse_bytes = { label = "$lang_stats.field_labels.reverse_bytes" type = "size" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # reverse_bytes forward_packets = { label = "$lang_stats.field_labels.forward_packets" type = "flat" index = 0 subindex = 0 } # forward_packets reverse_packets = { label = "$lang_stats.field_labels.reverse_packets" type = "flat" index = 0 subindex = 0 } # reverse_packets receiving_interface = { label = "$lang_stats.field_labels.receiving_interface" type = "flat" index = 0 subindex = 0 } # receiving_interface sending_interface = { label = "$lang_stats.field_labels.sending_interface" type = "flat" index = 0 subindex = 0 } # sending_interface alert_code = { label = "$lang_stats.field_labels.alert_code" type = "flat" index = 0 subindex = 0 } # alert_code rule_number = { label = "$lang_stats.field_labels.rule_number" type = "flat" index = 0 subindex = 0 } # rule_number error_type = { label = "$lang_stats.field_labels.error_type" type = "flat" index = 0 subindex = 0 } # error_type brick_source = { label = "$lang_stats.field_labels.brick_source" type = "flat" index = 0 subindex = 0 } # brick_source proxy_destination = { label = "$lang_stats.field_labels.proxy_destination" type = "flat" index = 0 subindex = 0 } # proxy_destination brick_port = { label = "$lang_stats.field_labels.brick_port" type = "flat" index = 0 subindex = 0 } # brick_port proxy_port = { label = "$lang_stats.field_labels.proxy_port" type = "flat" index = 0 subindex = 0 } # proxy_port reflect_type = { label = "$lang_stats.field_labels.reflect_type" type = "flat" index = 0 subindex = 0 } # reflect_type rel_vpn = { label = "$lang_stats.field_labels.rel_vpn" type = "flat" index = 0 subindex = 0 } # rel_vpn vpn_direction = { label = "$lang_stats.field_labels.vpn_direction" type = "flat" index = 0 subindex = 0 } # vpn_direction endpoint = { label = "$lang_stats.field_labels.endpoint" type = "flat" index = 0 subindex = 0 } # endpoint spi = { label = "$lang_stats.field_labels.spi" type = "flat" index = 0 subindex = 0 } # spi user_id = { label = "$lang_stats.field_labels.user_id" type = "flat" index = 0 subindex = 0 } # user_id mapped_source = { label = "$lang_stats.field_labels.mapped_source" type = "flat" index = 0 subindex = 0 } # mapped_source mapped_destination = { label = "$lang_stats.field_labels.mapped_destination" type = "flat" index = 0 subindex = 0 } # mapped_destination mapped_source_port = { label = "$lang_stats.field_labels.mapped_source_port" type = "flat" index = 0 subindex = 0 } # mapped_source_port mapped_destination_port = { label = "$lang_stats.field_labels.mapped_destination_port" type = "flat" index = 0 subindex = 0 } # mapped_destination_port } # log.fields # # Log Parsing Filters log.parsing_filters = { # Parse header fields 1 = { label = "1" comment = "" value = "collect_fields_using_regexp('^()([^:]+):([^:]*):([^:]*):([0-9][0-9][0-9][0-9][0-9][0-9])[+-][0-9]+:([^:]*):', '*KEY*,type,source_type,source,time,group')" } # 1 # Parse a type 0 line (required fields only) 2 = { label = "2" comment = "" value = "collect_fields_using_regexp('^()0:[^:]*:[^:]*:[^:]*:[^:]*:([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*)', '*KEY*,zone,direction,source_ip,destination_ip,protocol,source_port,destination_port,action,receiving_interface,sending_interface,alert_code,rule_number')" } # 2 # Parse a type 0 line (with all optional fields) 3 = { label = "3" comment = "" value = "collect_fields_using_regexp('^()0:[^:]*:[^:]*:[^:]*:[^:]*:([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*)', '*KEY*,zone,direction,source_ip,destination_ip,protocol,source_port,destination_port,action,receiving_interface,sending_interface,alert_code,rule_number,rel_vpn,brick_source,proxy_destination,brick_port,proxy_port,reflect_type')" } # 3 # Parse a type 1 line 4 = { label = "4" comment = "" value = "collect_fields_using_regexp('^()1:[^:]*:[^:]*:[^:]*:[^:]*:([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*)', '*KEY*,zone,direction,source_ip,destination_ip,protocol,source_port,destination_port,forward_packets,reverse_packets,forward_bytes,reverse_bytes,time_elapsed')" } # 4 # Parse a type 8 line 5 = { label = "5" comment = "" value = "collect_fields_using_regexp('^()8:[^:]*:[^:]*:[^:]*:[^:]*:([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*)', '*KEY*,zone,direction,source_ip,destination_ip,protocol,source_port,destination_port,rel_vpn,vpn_direction,endpoint,spi,user_id')" } # 5 # Parse a type 3 line (required fields only) 6 = { label = "6" comment = "" value = "collect_fields_using_regexp('^()3:[^:]*:[^:]*:[^:]*:[^:]*:([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*)', '*KEY*,zone,direction,source_ip,destination_ip,protocol,source_port,destination_port,mapped_source,mapped_destination,mapped_source_port,mapped_destination_port,action,receiving_interface,sending_interface,alert_code,rule_number')" } # 6 # Parse a type 3 line (with optional fields) 7 = { label = "7" comment = "" value = "collect_fields_using_regexp('^()3:[^:]*:[^:]*:[^:]*:[^:]*:([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*)', '*KEY*,zone,direction,source_ip,destination_ip,protocol,source_port,destination_port,mapped_source,mapped_destination,mapped_source_port,mapped_destination_port,action,receiving_interface,sending_interface,alert_code,rule_number,rel_vpn,brick_source,proxy_destination,brick_port,reflect_type')" } # 7 # Parse a type 144 line (with optional fields) 8 = { label = "8" comment = "" value = "collect_fields_using_regexp('^()144:[^:]*:[^:]*:[^:]*:[^:]*:([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*)', '*KEY*,zone,direction,source_ip,destination_ip,protocol,source_port,destination_port,empty,receive_interface,send_interface,alarm_code,rule_number,received_vlan_id,send_vlan_id,source_tcp_state,source_tcp_next_seq_number,source_tcp_right_seq_number,source_tcp_window_size,source_tcp_scale,source_tcp_time_stamp,source_tcp_time_stamp_echo,destination_tcp_state,destination_tcp_next_seq_number,destination_tcp_right_seq_number,destination_tcp_window_size,destination_tcp_scale,destination_tcp_time_stamp,destination_tcp_time_stamp_echo,tcp_seqn_number_delta,error_type,path_direction,tcp_sequence_number,tcp_flags,tcp_segment_length,tcp_ack,tcp_options,invalid_option_offset,content_of_tcp_options')" } # 8 # Accept this entry 9 = { label = "9" comment = "" value = "accept_collected_entry_using_regexp('()', false)" } # 9 } # 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 type = { label = "$lang_stats.field_labels.type" log_field = "type" type = "string" suppress_top = 0 suppress_bottom = 2 } # type source_type = { label = "$lang_stats.field_labels.source_type" log_field = "source_type" type = "string" suppress_top = 0 suppress_bottom = 2 } # source_type source = { label = "$lang_stats.field_labels.source" log_field = "source" type = "string" suppress_top = 0 suppress_bottom = 2 } # source group = { label = "$lang_stats.field_labels.group" log_field = "group" type = "string" suppress_top = 0 suppress_bottom = 2 } # group zone = { label = "$lang_stats.field_labels.zone" log_field = "zone" type = "string" suppress_top = 0 suppress_bottom = 2 } # zone direction = { label = "$lang_stats.field_labels.direction" log_field = "direction" type = "string" suppress_top = 0 suppress_bottom = 2 } # direction source_ip = { label = "$lang_stats.field_labels.source_ip" log_field = "source_ip" type = "string" suppress_top = 0 suppress_bottom = 2 } # source_ip destination_ip = { label = "$lang_stats.field_labels.destination_ip" log_field = "destination_ip" type = "string" suppress_top = 0 suppress_bottom = 2 } # destination_ip protocol = { label = "$lang_stats.field_labels.protocol" log_field = "protocol" type = "string" suppress_top = 0 suppress_bottom = 2 } # protocol source_port = { label = "$lang_stats.field_labels.source_port" log_field = "source_port" type = "string" suppress_top = 0 suppress_bottom = 2 } # source_port destination_port = { label = "$lang_stats.field_labels.destination_port" log_field = "destination_port" type = "string" suppress_top = 0 suppress_bottom = 2 } # destination_port action = { label = "$lang_stats.field_labels.action" log_field = "action" type = "string" suppress_top = 0 suppress_bottom = 2 } # action receiving_interface = { label = "$lang_stats.field_labels.receiving_interface" log_field = "receiving_interface" type = "string" suppress_top = 0 suppress_bottom = 2 } # receiving_interface sending_interface = { label = "$lang_stats.field_labels.sending_interface" log_field = "sending_interface" type = "string" suppress_top = 0 suppress_bottom = 2 } # sending_interface alert_code = { label = "$lang_stats.field_labels.alert_code" log_field = "alert_code" type = "string" suppress_top = 0 suppress_bottom = 2 } # alert_code error_type = { label = "$lang_stats.field_labels.error_type" log_field = "error_type" type = "string" suppress_top = 0 suppress_bottom = 2 } # error_type rule_number = { label = "$lang_stats.field_labels.rule_number" log_field = "rule_number" type = "string" suppress_top = 0 suppress_bottom = 2 } # rule_number brick_source = { label = "$lang_stats.field_labels.brick_source" log_field = "brick_source" type = "string" suppress_top = 0 suppress_bottom = 2 } # brick_source proxy_destination = { label = "$lang_stats.field_labels.proxy_destination" log_field = "proxy_destination" type = "string" suppress_top = 0 suppress_bottom = 2 } # proxy_destination brick_port = { label = "$lang_stats.field_labels.brick_port" log_field = "brick_port" type = "string" suppress_top = 0 suppress_bottom = 2 } # brick_port proxy_port = { label = "$lang_stats.field_labels.proxy_port" log_field = "proxy_port" type = "string" suppress_top = 0 suppress_bottom = 2 } # proxy_port reflect_type = { label = "$lang_stats.field_labels.reflect_type" log_field = "reflect_type" type = "string" suppress_top = 0 suppress_bottom = 2 } # reflect_type rel_vpn = { label = "$lang_stats.field_labels.rel_vpn" log_field = "rel_vpn" type = "string" suppress_top = 0 suppress_bottom = 2 } # rel_vpn vpn_direction = { label = "$lang_stats.field_labels.vpn_direction" log_field = "vpn_direction" type = "string" suppress_top = 0 suppress_bottom = 2 } # vpn_direction endpoint = { label = "$lang_stats.field_labels.endpoint" log_field = "endpoint" type = "string" suppress_top = 0 suppress_bottom = 2 } # endpoint spi = { label = "$lang_stats.field_labels.spi" log_field = "spi" type = "string" suppress_top = 0 suppress_bottom = 2 } # spi user_id = { label = "$lang_stats.field_labels.user_id" log_field = "user_id" type = "string" suppress_top = 0 suppress_bottom = 2 } # user_id mapped_source = { label = "$lang_stats.field_labels.mapped_source" log_field = "mapped_source" type = "string" suppress_top = 0 suppress_bottom = 2 } # mapped_source mapped_destination = { label = "$lang_stats.field_labels.mapped_destination" log_field = "mapped_destination" type = "string" suppress_top = 0 suppress_bottom = 2 } # mapped_destination mapped_source_port = { label = "$lang_stats.field_labels.mapped_source_port" log_field = "mapped_source_port" type = "string" suppress_top = 0 suppress_bottom = 2 } # mapped_source_port mapped_destination_port = { label = "$lang_stats.field_labels.mapped_destination_port" log_field = "mapped_destination_port" type = "string" suppress_top = 0 suppress_bottom = 2 } # mapped_destination_port } # database.fields # Log Filters log.filters = { # Copy the source IP to visitor ID field 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 log.fields.date_time = { label = "$lang_stats.field_labels.date_time" type = "date_time" derived_from_1 = "date" derived_from_2 = "time" index = "0" subindex = "0" } # date_time log.field_options = { sessions_page_field = "destination_ip" sessions_visitor_id_field = "source_ip" sessions_event_field = "page_views" } # log.field_options 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 = "source_ip" type = "unique" display_format_type = "integer" } # visitors reverse_bytes = { label = "$lang_stats.field_labels.reverse_bytes" default = false requires_log_field = true log_field = "reverse_bytes" type = "float" display_format_type = "bandwidth" } # reverse_bytes } # database.numerical_fields create_profile_wizard_options = { date_time_tracking = true # How the reports should be grouped in the report menu report_groups = { date_time_group = "" source_group = { source_type = true source = true source_ip = true source_port = true sending_interface = true mapped_source = true mapped_source_port = true } destination_group = { destination_ip = true destination_port = true receiving_interface = true proxy_destination = true mapped_destination = true mapped_destination_port = true } other_group = { type = true group = true zone = true direction = true protocol = true action = true alert_code = true error_type = true rule_number = true brick_source = true brick_port = true proxy_port = true reflect_type = true rel_vpn = true vpn_direction = true endpoint = true spi = true user_id = true } } # report_groups } # create_profile_wizard_options not_supported = { sessions = true pageviews = true } # not_supported } # lucent_brick