# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. software602 = { plugin_version = "1.0.1" # Initial creation - 1.0 # 2011-07-19 - 1.0.1 - MSG - Edited info lines. info.1.manufacturer = "Software602" info.1.device = "Software602" info.1.version.1 = "" # The name of the log format log.format.format_label = "Software602 Log Format" log.miscellaneous.log_data_type = "firewall" log.miscellaneous.log_format_type = "application" # The log is in this format if any of the first ten lines match this regular expression log.format.autodetect_regular_expression = "^--- [A-Z][a-z]* [0-9][0-9]/[0-9][0-9]/[0-9][0-9] ---$" # The format of dates and times in this log log.format.date_format = "mm/dd/yy" log.format.time_format = "h:mm:ss AM/PM" # All log field parsing will be done using the parsing filters log.format.parse_only_with_filters = "true" # 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 hostname = { label = "$lang_stats.field_labels.hostname" type = "host" index = 1 subindex = 0 hierarchy_dividers = "." left_to_right = false leading_divider = "false" } # hostname url = { label = "$lang_stats.field_labels.url" type = "page" index = 0 subindex = 0 hierarchy_dividers = "/?" left_to_right = false leading_divider = "false" } # url size = { label = "$lang_stats.field_labels.size" type = "size" index = 15 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # size } # log.fields # # Log Parsing Filters log.parsing_filters = { # Parse out the time 1 = { label = "1" comment = "" value = "collect_fields_using_regexp('^([0-9][0-9]:[0-9][0-9]:[0-9][0-9] [ap]m) PROXY: ([0-9]*) ', 'time,*KEY*')" } # 1 # Parse out the hostname 2 = { label = "2" comment = "" value = "collect_fields_using_regexp('^[0-9][0-9]:[0-9][0-9]:[0-9][0-9] [ap]m PROXY: ([0-9]*) ([0-9.]*) Connection has arrived', '*KEY*,hostname')" } # 2 # Parse out the URL 3 = { label = "3" comment = "" value = "collect_fields_using_regexp('^[0-9][0-9]:[0-9][0-9]:[0-9][0-9] [ap]m PROXY: ([0-9]*) Request: (.*)$', '*KEY*,url')" } # 3 # Parse out the size 4 = { label = "4" comment = "" value = "collect_fields_using_regexp('^[0-9][0-9]:[0-9][0-9]:[0-9][0-9] [ap]m PROXY: ([0-9]*) ([0-9]*)B/[0-9]*s$', '*KEY*,size')" } # 4 # Accept a collected field when there is a size line 5 = { label = "5" comment = "" value = "accept_collected_entry_using_regexp('^[0-9][0-9]:[0-9][0-9]:[0-9][0-9] [ap]m PROXY: ([0-9]*) [0-9]*B/[0-9]*s$', false)" } # 5 } # 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 hostname = { label = "$lang_stats.field_labels.hostname" log_field = "hostname" type = "string" suppress_top = 0 suppress_bottom = 2 display_format_type = "hostname" } # hostname domain_description = { label = "$lang_stats.field_labels.domain_description" log_field = "domain_description" type = "string" suppress_top = 0 suppress_bottom = 2 } # domain_description location = { label = "$lang_stats.field_labels.location" log_field = "location" type = "string" suppress_top = 0 suppress_bottom = 3 } # location url = { label = "$lang_stats.field_labels.url" log_field = "url" type = "string" suppress_top = 1 suppress_bottom = 3 } # url file_type = { label = "$lang_stats.field_labels.file_type" log_field = "file_type" type = "string" suppress_top = 0 suppress_bottom = 2 } # file_type worm = { label = "$lang_stats.field_labels.worm" log_field = "worm" type = "string" suppress_top = 0 suppress_bottom = 2 } # worm } # 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 = 'hits = 1;' } # mark_entry } # log.filters log.field_options = { sessions_page_field = "url" sessions_visitor_id_field = "hostname" sessions_event_field = "page_views" } # log.field_options database.numerical_fields = { hits = { label = "$lang_stats.field_labels.hits" default = true requires_log_field = false type = "int" display_format_type = "integer" entries_field = true } # hits size = { label = "$lang_stats.field_labels.size" default = false requires_log_field = true log_field = "size" type = "float" display_format_type = "bandwidth" } # size } # 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 = "" hostname = true domain_description = true location = true url = true file_type = true worm = true } # report_groups } # create_profile_wizard_options not_supported = { visitors = true sessions = true pageviews = true } # not_supported } # software602