# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. cyberguard = { plugin_version = "1.0" # 2010-10-04 - 1. - MSG - Edited info lines. info.1.manfacturer = "CyberGuard" info.1.device = "Firewall" info.1.version.1 = "" # The name of the log format log.format.format_label = "Cyberguard WELF Log Format" log.miscellaneous.log_data_type = "syslog_required" 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 = "fw=[^ ]+ time=\"[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]\" pri=[0-9]+" # An entry is called a "packet" statistics.miscellaneous.entry_name = "packets" # Log fields log.fields = { fw = { label = "$lang_stats.field_labels.fw" type = "flat" index = 0 subindex = 0 } # fw evt = { label = "$lang_stats.field_labels.evt" type = "flat" index = 0 subindex = 0 } # evt subevt = { label = "$lang_stats.field_labels.subevt" type = "flat" index = 0 subindex = 0 } # subevt user = { label = "$lang_stats.field_labels.user" type = "flat" index = 0 subindex = 0 } # user status = { label = "$lang_stats.field_labels.status" type = "flat" index = 0 subindex = 0 } # status msg = { label = "$lang_stats.field_labels.msg" type = "flat" index = 0 subindex = 0 } # msg src = { label = "$lang_stats.field_labels.src" type = "host" index = 0 subindex = 0 hierarchy_dividers = "." left_to_right = false leading_divider = "false" } # src srcport = { label = "$lang_stats.field_labels.srcport" type = "flat" index = 0 subindex = 0 } # srcport dst = { label = "$lang_stats.field_labels.dst" type = "flat" index = 0 subindex = 0 } # dst dstport = { label = "$lang_stats.field_labels.dstport" type = "flat" index = 0 subindex = 0 } # dstport 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 duration = { label = "$lang_stats.field_labels.duration" type = "flat" index = 0 subindex = 0 } # duration srcintfc = { label = "$lang_stats.field_labels.srcintfc" type = "flat" index = 0 subindex = 0 } # srcintfc dstintfc = { label = "$lang_stats.field_labels.dstintfc" type = "flat" index = 0 subindex = 0 } # dstintfc oper = { label = "$lang_stats.field_labels.oper" type = "flat" index = 0 subindex = 0 } # oper seq = { label = "$lang_stats.field_labels.seq" type = "flat" index = 0 subindex = 0 } # seq event = { label = "$lang_stats.field_labels.event" type = "flat" index = 0 subindex = 0 } # event pid = { label = "$lang_stats.field_labels.pid" type = "flat" index = 0 subindex = 0 } # pid pri = { label = "$lang_stats.field_labels.pri" type = "flat" index = 0 subindex = 0 } # pri } # 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('()(fw=.*)$', ' ', '=', 'time=cybertime')" } # 1 # Accept any line 2 = { label = "2" comment = "" value = "accept_collected_entry_using_regexp('()', false)" } # 2 } # log.parsing_filters # Database fields database.fields = { fw = { label = "$lang_stats.field_labels.fw" log_field = "fw" type = "string" suppress_top = 0 suppress_bottom = 2 } # fw evt = { label = "$lang_stats.field_labels.evt" log_field = "evt" type = "string" suppress_top = 0 suppress_bottom = 2 } # evt subevt = { label = "$lang_stats.field_labels.subevt" log_field = "subevt" type = "string" suppress_top = 0 suppress_bottom = 2 } # subevt user = { label = "$lang_stats.field_labels.user" log_field = "user" type = "string" suppress_top = 0 suppress_bottom = 2 } # user status = { label = "$lang_stats.field_labels.status" log_field = "status" type = "string" suppress_top = 0 suppress_bottom = 2 } # status msg = { label = "$lang_stats.field_labels.msg" log_field = "msg" type = "string" suppress_top = 0 suppress_bottom = 2 } # msg src = { label = "$lang_stats.field_labels.src" log_field = "src" type = "string" suppress_top = 0 suppress_bottom = 2 } # src srcport = { label = "$lang_stats.field_labels.srcport" log_field = "srcport" type = "string" suppress_top = 0 suppress_bottom = 2 } # srcport dst = { label = "$lang_stats.field_labels.dst" log_field = "dst" type = "string" suppress_top = 0 suppress_bottom = 2 } # dst dstport = { label = "$lang_stats.field_labels.dstport" log_field = "dstport" type = "string" suppress_top = 0 suppress_bottom = 2 } # dstport srcintfc = { label = "$lang_stats.field_labels.srcintfc" log_field = "srcintfc" type = "string" suppress_top = 0 suppress_bottom = 2 } # srcintfc dstintfc = { label = "$lang_stats.field_labels.dstintfc" log_field = "dstintfc" type = "string" suppress_top = 0 suppress_bottom = 2 } # dstintfc oper = { label = "$lang_stats.field_labels.oper" log_field = "oper" type = "string" suppress_top = 0 suppress_bottom = 2 } # oper event = { label = "$lang_stats.field_labels.event" log_field = "event" type = "string" suppress_top = 0 suppress_bottom = 2 } # event pri = { label = "$lang_stats.field_labels.pri" log_field = "pri" type = "string" suppress_top = 0 suppress_bottom = 2 } # pri } # 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 = 'packets = 1;' } # mark_entry } # log.filters database.numerical_fields = { packets = { label = "$lang_stats.field_labels.packets" default = true requires_log_field = false type = "int" display_format_type = "integer" entries_field = true } # packets 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 } # database.numerical_fields create_profile_wizard_options = { host_tracking = true # How the reports should be grouped in the report menu report_groups = { date_time_group = "" fw = true evt = true subevt = true user = true status = true msg = true src = true srcport = true dst = true dstport = true srcintfc = true dstintfc = true oper = true event = true pri = true } # report_groups } # create_profile_wizard_options not_supported = { sessionpages = true pageviews = true } # not_supported } # cyberguard