winproxy = { # The name of the log format log.format.format_label = "Winproxy 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][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]*$" # Logs fields are separated by a comma log.format.field_separator = ", " # The format of dates and times in this log log.format.date_format = "mm/dd/yyyy" log.format.time_format = "hh:mm:ss" # Log fields log.fields = { browsing_host = { label = "$lang_stats.field_labels.browsing_host" type = "host" index = 1 subindex = 0 hierarchy_dividers = "." left_to_right = false leading_divider = "false" } # browsing_host authenticated_user = { label = "$lang_stats.field_labels.authenticated_user" type = "flat" index = 2 subindex = 0 } # authenticated_user date = { label = "$lang_stats.field_labels.date" type = "date" index = 5 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # date time = { label = "$lang_stats.field_labels.time" type = "time" index = 6 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # time service = { label = "$lang_stats.field_labels.service" type = "flat" index = 7 subindex = 0 } # service destination_hostname = { label = "$lang_stats.field_labels.destination_hostname" type = "flat" index = 10 subindex = 0 } # destination_hostname destination_ip = { label = "$lang_stats.field_labels.destination_ip" type = "flat" index = 11 subindex = 0 } # destination_ip destination_port = { label = "$lang_stats.field_labels.destination_port" type = "flat" index = 12 subindex = 0 } # destination_port duration = { label = "$lang_stats.field_labels.duration" type = "integer" index = 13 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # duration bytes_sent = { label = "$lang_stats.field_labels.bytes_sent" type = "flat" index = 14 subindex = 0 } # bytes_sent bytes_received = { label = "$lang_stats.field_labels.bytes_received" type = "size" index = 15 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # bytes_received protocol = { label = "$lang_stats.field_labels.protocol" type = "flat" index = 16 subindex = 0 } # protocol operation = { label = "$lang_stats.field_labels.operation" type = "flat" index = 18 subindex = 0 } # operation url = { label = "$lang_stats.field_labels.url" type = "page" index = 19 subindex = 0 hierarchy_dividers = "/?" left_to_right = false leading_divider = "false" } # url document_source = { label = "$lang_stats.field_labels.document_source" type = "response" index = 21 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # document_source server_response = { label = "$lang_stats.field_labels.server_response" type = "response" index = 22 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # server_response } # log.fields # 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 browsing_host = { label = "$lang_stats.field_labels.browsing_host" log_field = "browsing_host" type = "string" suppress_top = 0 suppress_bottom = 2 } # browsing_host 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 authenticated_user = { label = "$lang_stats.field_labels.authenticated_user" log_field = "authenticated_user" type = "string" suppress_top = 0 suppress_bottom = 2 } # authenticated_user service = { label = "$lang_stats.field_labels.service" log_field = "service" type = "string" suppress_top = 0 suppress_bottom = 2 } # service destination_hostname = { label = "$lang_stats.field_labels.destination_hostname" log_field = "destination_hostname" type = "string" suppress_top = 0 suppress_bottom = 2 } # destination_hostname destination_ip = { label = "$lang_stats.field_labels.destination_ip" log_field = "destination_ip" type = "string" suppress_top = 0 suppress_bottom = 2 } # destination_ip destination_port = { label = "$lang_stats.field_labels.destination_port" log_field = "destination_port" type = "string" suppress_top = 0 suppress_bottom = 2 } # destination_port server_response = { label = "$lang_stats.field_labels.server_response" log_field = "server_response" type = "string" suppress_top = 0 suppress_bottom = 2 } # server_response document_source = { label = "$lang_stats.field_labels.document_source" log_field = "document_source" type = "string" suppress_top = 0 suppress_bottom = 2 } # document_source protocol = { label = "$lang_stats.field_labels.protocol" log_field = "protocol" type = "string" suppress_top = 0 suppress_bottom = 2 } # protocol operation = { label = "$lang_stats.field_labels.operation" log_field = "operation" type = "string" suppress_top = 0 suppress_bottom = 2 } # operation } # database.fields # Log Filters log.filters = { 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 remove_query = { label = "$lang_admin.log_filters.remove_query_label" comment = "$lang_admin.log_filters.remove_query_comment" value = "if (contains(url, '?')) then url = substr(url, 0, index(url, '?') + 1) . '(parameters)';" } # remove_query 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 not_authenticated = { label = "$lang_admin.log_filters.not_authenticated_label" comment = "$lang_admin.log_filters.not_authenticated_comment" value = "if (authenticated_user eq '-') then authenticated_user = '(not authenticated)';" } # not_authenticated 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 = "browsing_host" 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 = "browsing_host" type = "unique" display_format_type = "integer" } # visitors bytes_received = { label = "$lang_stats.field_labels.bytes_received" default = false requires_log_field = true log_field = "bytes_received" type = "float" display_format_type = "bandwidth" } # bytes_received } # 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 = "" day_of_week = true hour_of_day = true browsing_host = true url = true file_type = true worm = true authenticated_user = true service = true destination_hostname = true destination_ip = true destination_port = true server_response = true document_source = true protocol = true operation = true } # report_groups } # create_profile_wizard_options not_supported = { } # not_supported } # winproxy