ez_proxy = { # The name of the log format log.format.format_label = "EZProxy Log Format" log.miscellaneous.log_data_type = "firewall" log.miscellaneous.log_format_type = "proxy_server" # 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]*;(.*)$" # Treat fields surrounded by square brackets (e.g. the date/time field) as a single quoted field. log.format.treat_brackets_as_quotes = "false" log.format.common_log_format = "false" # Use ; as the separator log.format.field_separator = ";" # The format of dates and times in this log log.format.date_format = "yyyy/mm/dd hh:mm:ss" log.format.time_format = "yyyy/mm/dd hh:mm:ss" # Log fields log.fields = { client_ip = { label = "$lang_stats.field_labels.client_ip" type = "host" index = 2 subindex = 0 hierarchy_dividers = "." left_to_right = false leading_divider = "false" } # client_ip port = { label = "$lang_stats.field_labels.port" type = "flat" index = 3 subindex = 0 } # port group = { label = "$lang_stats.field_labels.group" type = "flat" index = 4 subindex = 0 } # group authenticated_name = { label = "$lang_stats.field_labels.authenticated_name" type = "flat" index = 5 subindex = 0 } # authenticated_name computer = { label = "$lang_stats.field_labels.computer" type = "flat" index = 6 subindex = 0 } # computer mac_address = { label = "$lang_stats.field_labels.mac_address" type = "flat" index = 7 subindex = 0 } # mac_address hostname = { label = "$lang_stats.field_labels.hostname" type = "flat" index = 8 subindex = 0 } # hostname server_port = { label = "$lang_stats.field_labels.server_port" type = "flat" index = 9 subindex = 0 } # server_port start_time = { label = "$lang_stats.field_labels.start_time" type = "date_time" index = 10 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # start_time stop_time = { label = "$lang_stats.field_labels.stop_time" type = "flat" index = 11 subindex = 0 } # stop_time length = { label = "$lang_stats.field_labels.length" type = "size" index = 12 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # length url = { label = "$lang_stats.field_labels.url" type = "page" index = 13 subindex = 2 hierarchy_dividers = "/?" left_to_right = true leading_divider = "false" } # url page_info = { label = "$lang_stats.field_labels.page_info" type = "flat" index = 13 subindex = 0 } # page_info } # log.fields # Database fields database.fields = { start_time = { label = "$lang_stats.field_labels.start_time" log_field = "start_time" type = "string" suppress_top = 0 suppress_bottom = 3 } # start_time 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 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 client_ip = { label = "$lang_stats.field_labels.client_ip" log_field = "client_ip" type = "string" suppress_top = 0 suppress_bottom = 2 } # client_ip domain_description = { label = "$lang_stats.field_labels.domain_description" log_field = "domain_description" type = "string" suppress_top = 0 suppress_bottom = 2 } # domain_description hostname = { label = "$lang_stats.field_labels.hostname" log_field = "hostname" type = "string" suppress_top = 0 suppress_bottom = 2 display_format_type = "hostname" } # hostname location = { label = "$lang_stats.field_labels.location" log_field = "location" type = "string" suppress_top = 0 suppress_bottom = 2 } # location group = { label = "$lang_stats.field_labels.group" log_field = "group" type = "string" suppress_top = 0 suppress_bottom = 2 } # group authenticated_name = { label = "$lang_stats.field_labels.authenticated_name" log_field = "authenticated_name" type = "string" suppress_top = 0 suppress_bottom = 2 } # authenticated_name url = { label = "$lang_stats.field_labels.url" log_field = "url" type = "string" suppress_top = 1 suppress_bottom = 3 } # url worm = { label = "$lang_stats.field_labels.worm" log_field = "worm" type = "string" suppress_top = 0 suppress_bottom = 2 } # worm page_info = { label = "$lang_stats.field_labels.page_info" log_field = "page_info" type = "string" suppress_top = 0 suppress_bottom = 2 } # page_info file_type = { label = "$lang_stats.field_labels.file_type" log_field = "file_type" type = "string" suppress_top = 0 suppress_bottom = 2 } # file_type port = { label = "$lang_stats.field_labels.port" log_field = "port" type = "string" suppress_top = 0 suppress_bottom = 2 } # port computer = { label = "$lang_stats.field_labels.computer" log_field = "computer" type = "string" suppress_top = 0 suppress_bottom = 2 } # computer mac_address = { label = "$lang_stats.field_labels.mac_address" log_field = "mac_address" type = "string" suppress_top = 0 suppress_bottom = 2 } # mac_address server_port = { label = "$lang_stats.field_labels.server_port" log_field = "server_port" type = "string" suppress_top = 0 suppress_bottom = 2 } # server_port protocol = { label = "$lang_stats.field_labels.protocol" log_field = "protocol" type = "string" suppress_top = 0 suppress_bottom = 2 } # protocol } # database.fields # Log Filters log.filters = { # This filter splits the source host line into source host and authenticated user, if available. 1 = { label = "1" comment = "" value = "if (matches_regular_expression(page_info, ', (.*)\\[.*\\]$')) then protocol = page_info;" } # 1 2 = { label = "2" comment = "" value = "if (contains(page_info, 'http')) then (if (matches_regular_expression(page_info, '.*,(.*),.*')) then url = page_info; url = 'http://' . hostname . '' . url;)" } # 2 3 = { label = "3" comment = "" value = "if (contains(page_info, 'http')) then '' else url = 'NA';" } # 3 simplify_url = { label = "$lang_admin.log_filters.simplify_url_label" comment = "$lang_admin.log_filters.simplify_url_comment" value = "if (matches_regular_expression(url, '^([^:]+://[^/]+/)')) then url = $1 . '(omitted)'" } # simplify_url detect_page_views = { label = '$lang_admin.log_filters.detect_page_views_label' comment = '$lang_admin.log_filters.detect_page_views_comment' value = "if ((file_type eq 'JPEG') or (file_type eq 'JPG') or (file_type eq 'GIF') or (file_type eq 'ICO') or (file_type eq 'PNG') or (file_type eq 'CSS') or (file_type eq 'SWF') or (file_type eq 'JS')) then page_views = 0; else page_views = 1;" } # detect_page_views strip_non_page_views = { label = '$lang_admin.log_filters.strip_non_page_views_label' comment = '$lang_admin.log_filters.strip_non_page_views_comment' value = "if (page_views == 0) then url = substr(url, 0, last_index(url, '/') + 1) . '(nonpage)';" } # strip_non_page_views 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 = "client_ip" sessions_event_field = "page_views" } # log.field_options database.numerical_fields = { hits = { label = "$lang_stats.field_labels.hits" default = false requires_log_field = false type = "int" display_format_type = "integer" entries_field = true } # hits page_views = { label = "$lang_stats.field_labels.page_views" default = true requires_log_field = false type = "int" display_format_type = "integer" } # page_views visitors = { label = "$lang_stats.field_labels.visitors" default = false requires_log_field = true log_field = "client_ip" type = "unique" display_format_type = "integer" } # visitors length = { label = "$lang_stats.field_labels.length" default = false requires_log_field = true log_field = "length" type = "float" display_format_type = "bandwidth" } # length } # 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 = "" start_time = true hour_of_day = true day_of_week = true client_ip = true domain_description = true hostname = true location = true group = true authenticated_name = true url = true worm = true page_info = true file_type = true port = true computer = true mac_address = true server_port = true protocol = true } # report_groups } # create_profile_wizard_options not_supported = { } # not_supported } # ez_proxy