isacsv = { # The name of the log format log.format.format_label = "Microsoft ISA WebProxy Log Format (CSV)" log.miscellaneous.log_data_type = "firewall" 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]+\\.[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]+, [0-9]+, [0-9]+, [a-z]+, [^,]+, [A-Z]+, [^,]+, [^,]+, [^,]+, [0-9]+, [^,]+, [^,]+, [^,]+" # Logs fields are separated by a comma log.format.field_separator = ", " # Log fields log.fields = { source_ip = { label = "$lang_stats.field_labels.source_ip" type = "host" index = 1 subindex = 0 hierarchy_dividers = "." left_to_right = false leading_divider = "false" } # source_ip username = { label = "$lang_stats.field_labels.username" type = "flat" index = 2 subindex = 0 } # username agent = { label = "$lang_stats.field_labels.agent" type = "agent" index = 3 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # agent unknown1 = { label = "unknown1" type = "flat" index = 4 subindex = 0 } # unknown1 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 unknown2 = { label = "unknown2" type = "flat" index = 7 subindex = 0 } # unknown2 unknown3 = { label = "unknown3" type = "flat" index = 8 subindex = 0 } # unknown3 unknown4 = { label = "unknown4" type = "flat" index = 9 subindex = 0 } # unknown4 destination_host = { label = "$lang_stats.field_labels.destination_host" type = "flat" index = 10 subindex = 0 } # destination_host 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 unknown5 = { label = "unknown5" type = "flat" index = 13 subindex = 0 } # unknown5 bytes_transferred = { label = "$lang_stats.field_labels.bytes_transferred" type = "size" index = 14 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # bytes_transferred source_port = { label = "$lang_stats.field_labels.source_port" type = "flat" index = 15 subindex = 0 } # source_port protocol = { label = "$lang_stats.field_labels.protocol" type = "flat" index = 16 subindex = 0 } # protocol unknown8 = { label = "unknown8" type = "flat" index = 17 subindex = 0 } # unknown8 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 unknown9 = { label = "unknown9" type = "flat" index = 20 subindex = 0 } # unknown9 unknown10 = { label = "unknown10" type = "flat" index = 21 subindex = 0 } # unknown10 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 unknown11 = { label = "unknown11" type = "flat" index = 23 subindex = 0 } # unknown11 unknown12 = { label = "unknown12" type = "flat" index = 24 subindex = 0 } # unknown12 unknown13 = { label = "unknown13" type = "flat" index = 25 subindex = 0 } # unknown13 } # 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 source_ip = { label = "$lang_stats.field_labels.source_ip" log_field = "source_ip" type = "string" suppress_top = 0 suppress_bottom = 2 } # source_ip 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 = 2 } # location 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 username = { label = "$lang_stats.field_labels.username" log_field = "username" type = "string" suppress_top = 0 suppress_bottom = 2 } # username web_browser = { label = "$lang_stats.field_labels.web_browser" log_field = "web_browser" type = "string" suppress_top = 0 suppress_bottom = 2 } # web_browser operating_system = { label = "$lang_stats.field_labels.operating_system" log_field = "operating_system" type = "string" suppress_top = 0 suppress_bottom = 2 } # operating_system destination_host = { label = "$lang_stats.field_labels.destination_host" log_field = "destination_host" type = "string" suppress_top = 0 suppress_bottom = 2 } # destination_host 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 source_port = { label = "$lang_stats.field_labels.source_port" log_field = "source_port" type = "string" suppress_top = 0 suppress_bottom = 2 } # source_port 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 server_response = { label = "$lang_stats.field_labels.server_response" log_field = "server_response" type = "string" suppress_top = 0 suppress_bottom = 2 } # server_response } # database.fields # Log Filters log.filters = { set_page_for_worm = { label = "$lang_admin.log_filters.set_page_for_worm_label" comment = "$lang_admin.log_filters.set_page_for_worm_comment" value = "if (starts_with(worm, '(')) then '' else url = '(worm)';" } # set_page_for_worm 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 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 = "source_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 = "source_ip" type = "unique" display_format_type = "integer" } # visitors bytes_transferred = { label = "$lang_stats.field_labels.bytes_transferred" default = false requires_log_field = true log_field = "bytes_transferred" type = "float" display_format_type = "bandwidth" } # bytes_transferred } # 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 source_ip = true domain_description = true location = true url = true worm = true username = true web_browser = true operating_system = true destination_host = true destination_ip = true destination_port = true source_port = true protocol = true operation = true server_response = true } # report_groups } # create_profile_wizard_options not_supported = { } # not_supported } # isacsv