net_cache_net_app55 = { # NetCache writes its access log file in the “Squid” format, for compatibility with public domain log analysis tools. # NetCache automatically rotates its access log. The access log identifies: # # URL # client IP address or hostname # timestamp # HTTP server result code # time to look up the DNS record # elapsed time to fetch the URL # bytes transferred # whether the URL referenced was a cache hit or miss # whether the URL carried a cookie # whether the URL was password protected and therefore uncachable # whether the client dropped the connection without fetching the entire URL # # The name of the log format log.format.format_label = "NetCache NetApp 5.5 Log Format" log.miscellaneous.log_data_type = "firewall" log.miscellaneous.log_format_type = "internet_device" # The log is in this format if any of the first ten lines match this regular expression log.format.autodetect_regular_expression = "^#Software: NetCache NetApp/5\.[56]" # The format of dates and times in this log log.format.date_format = "seconds_since_jan1_1970" log.format.time_format = "seconds_since_jan1_1970" # A log entry is a request statistics.miscellaneous.entry_name = "requests" # We can't ignore quotes : date/time appears in bracketed quotes. #ignore_quotes true log.format.ignore_quotes = "false" log.format.treat_brackets_as_quotes = "true" # 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(cs_uri, '^([^:]+://[^/]+/)')) then cs_uri = $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(cs_uri, '?')) then cs_uri = substr(cs_uri, 0, index(cs_uri, '?') + 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 cs_uri = substr(cs_uri, 0, last_index(cs_uri, '/') + 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 = 'requests = 1;' } # mark_entry } # log.filters log.field_options = { sessions_page_field = "cs_uri" sessions_visitor_id_field = "c_ip" sessions_event_field = "page_views" } # log.field_options database.numerical_fields = { requests = { label = "$lang_stats.field_labels.requests" default = true requires_log_field = false type = "int" display_format_type = "integer" entries_field = true } # requests page_views = { label = "$lang_stats.field_labels.page_views" default = false 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 = "c_ip" type = "unique" display_format_type = "integer" } # visitors bytes = { label = "$lang_stats.field_labels.bytes" default = false log_field = "bytes" requires_log_field = true type = "float" display_format_type = "bandwidth" } x_sc_contentlength = { label = "$lang_stats.field_labels.x_sc_contentlength" default = false log_field = "x_sc_contentlength" requires_log_field = true type = "float" display_format_type = "bandwidth" } x_rs_contentlength = { label = "$lang_stats.field_labels.x_rs_contentlength" default = false log_field = "x_rs_contentlength" requires_log_field = true type = "float" display_format_type = "bandwidth" } x_cs_bodylength = { label = "$lang_stats.field_labels.x_cs_bodylength" default = false log_field = "x_cs_bodylength" requires_log_field = true type = "float" display_format_type = "bandwidth" } x_sr_bodylength = { label = "$lang_stats.field_labels.x_sr_bodylength" default = false log_field = "x_sr_bodylength" requires_log_field = true type = "float" display_format_type = "bandwidth" } x_cs_headerlength = { label = "$lang_stats.field_labels.x_cs_headerlength" default = false log_field = "x_cs_headerlength" requires_log_field = true type = "float" display_format_type = "bandwidth" } x_sc_headerlength = { label = "$lang_stats.field_labels.x_sc_headerlength" default = false log_field = "x_sc_headerlength" requires_log_field = true type = "float" display_format_type = "bandwidth" } x_sr_headerlength = { label = "$lang_stats.field_labels.x_sr_headerlength" default = false log_field = "x_sr_headerlength" requires_log_field = true type = "float" display_format_type = "bandwidth" } x_rs_headerlength = { label = "$lang_stats.field_labels.x_rs_headerlength" default = false log_field = "x_rs_headerlength" requires_log_field = true type = "float" display_format_type = "bandwidth" } time_taken = { label = $lang_stats.field_labels.time_taken default = false requires_log_field = true type = int display_format_type = duration_milliseconds } # time_taken x_elapsed_seconds = { label = $lang_stats.field_labels.x_elapsed_seconds default = false requires_log_field = true type = int display_format_type = duration_milliseconds } # x_elapsed_seconds } # 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 = "" content_group = { cs_uri = true file_type = true rs_content_type = true } user_demographics_group = { c_ip = true domain_description = true location = true x_username = true } user_systems_group = { screen_dimensions = true screen_depth = true web_browser = true operating_system = true } referrer_group = { referrer = true search_engine = true search_phrase = true referrer_description = true search_phrase_by_search_engine = true } other_group = { x_remote_id = true cs_method = true cs_version = true sc_status = true rs_status = true worm = true spider = true cs_x_forwarded_for = true x_transaction = true x_hiercode = true x_note = true x_age = true x_max_age = true x_rs_date = true x_last_verify = true x_last_modified = true x_rs_expires = true x_ims_time = true x_cache_action = true x_cs_cache_control = true x_rs_cache_control = true x_cacheable_cookie_match = true x_rs_header_modified = true } # other } # report_groups } # create_profile_wizard_options not_supported = { } # not_supported } # net_cache_net_app55