gene6_ftp = { # The name of the log format log.format.format_label = "Gene6 FTP Log Format" log.miscellaneous.log_data_type = "ftp" log.miscellaneous.log_format_type = "ftp_server" # The follow data types are not supported for this format # 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.]+, [^,]+, " log.format.parse_only_with_filters = true # The format of dates and times in this log log.format.date_format = "y/m/d" log.format.time_format = "auto" # Log entries are called downloads statistics.miscellaneous.entry_name = "downloads" # 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 client_ip = { label = "$lang_stats.field_labels.client_ip" type = "host" index = 0 subindex = 0 hierarchy_dividers = "." left_to_right = false leading_divider = "false" } # client_ip bytes = { label = "$lang_stats.field_labels.bytes" type = "size" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # bytes operation = { label = "$lang_stats.field_labels.operation" type = "flat" index = 0 subindex = 0 } # operation file = { label = "$lang_stats.field_labels.file" type = "page" index = 0 subindex = 0 hierarchy_dividers = "/?" left_to_right = true leading_divider = "true" } # file local_file = { label = "$lang_stats.field_labels.local_file" type = "flat" index = 0 subindex = 0 # hierarchy_dividers = "\\" # left_to_right = true # leading_divider = "true" } # local_file username = { label = "$lang_stats.field_labels.username" type = "flat" index = 0 subindex = 0 } # username } # log.fields log.parsing_filters = { # Parse out the header fields 1 = { label = "1" comment = "" value = "collect_fields_using_regexp('^()([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.]+), ([^,]+)', '*KEY*,date,time,client_ip,username')" } # 1 # Parse out download lines download = { label = "download" comment = "" value = "collect_fields_using_regexp('()finished (download)ing \\'([^\\']*)\\' -> \\'([^\\']*)\\' from ([0-9]+)', '*KEY*,operation,file,local_file,bytes')" } # Accept on download lines accept = { label = "accept" comment = "" value = "accept_collected_entry_using_regexp('()finished downloading', false)" } # accept } # 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 file = { label = "$lang_stats.field_labels.file" log_field = "file" type = "string" suppress_top = 0 suppress_bottom = 9 display_format_type = "file" } # file file_type = { label = "$lang_stats.field_labels.file_type" log_field = "file_type" type = "string" suppress_top = 0 suppress_bottom = 2 } # file_type local_file = { label = "$lang_stats.field_labels.local_file" log_field = "local_file" type = "string" suppress_top = 0 suppress_bottom = 9 display_format_type = "local_file" } # local_file client_ip = { label = "$lang_stats.field_labels.client_ip" log_field = "client_ip" type = "string" suppress_top = 0 suppress_bottom = 2 display_format_type = "client_ip" } # 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 location = { label = "$lang_stats.field_labels.location" log_field = "location" type = "string" suppress_top = 0 suppress_bottom = 3 } # location username = { label = "$lang_stats.field_labels.username" log_field = "username" type = "string" suppress_top = 0 suppress_bottom = 2 } # username 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 = { mark_entry = { label = '$lang_admin.log_filters.mark_entry_label' comment = '$lang_admin.log_filters.mark_entry_comment' value = 'downloads = 1;' } # mark_entry } # log.filters log.field_options = { sessions_page_field = "file" sessions_visitor_id_field = "client_ip" sessions_event_field = "page_views" } # log.field_options database.numerical_fields = { downloads = { label = "$lang_stats.field_labels.downloads" default = true requires_log_field = false type = "int" display_format_type = "integer" entries_field = true } # downloads visitors = { label = "$lang_stats.field_labels.visitors" default = false requires_log_field = true log_field = "client_ip" type = "unique" display_format_type = "integer" } # visitors bytes = { label = "$lang_stats.field_labels.bytes" default = false requires_log_field = true log_field = "bytes" type = "float" display_format_type = "bandwidth" } # bytes } # 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 = { file = true file_type = true local_file = true } visitor_demographics_group = { client_ip = true domain_description = true location = true username = true } other_group = { operation = true direction = true complete = true } } # report_groups } # create_profile_wizard_options not_supported = { pageviews = true } # not_supported } # gene6_ftp