htdig = { # The name of the log format log.format.format_label = "htdig Log Format" log.miscellaneous.log_data_type = "syslog_required" log.miscellaneous.log_format_type = "other" # The log is in this format if any of the first ten lines match this regular expression # Added a second autodetect abecause sometimes it doesn't match the first. log.format.autodetect_regular_expression = "[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+ \\[[^]]*\\] \\([^)]*\\) \\[[^]]*\\] \\[[^]]*\\] \\([^)]*\\) - [^ ]+ -- (.*)$" # A log entry is called a "search" statistics.miscellaneous.entry_name = "searches" # Log fields log.fields = { remote_ip = { label = "$lang_stats.field_labels.remote_ip" type = "host" index = 0 subindex = 0 hierarchy_dividers = "." left_to_right = false leading_divider = "false" } # remote_ip config = { label = "$lang_stats.field_labels.config" type = "flat" index = 0 subindex = 0 } # config match_method = { label = "$lang_stats.field_labels.match_method" type = "flat" index = 0 subindex = 0 } # match_method words = { label = "$lang_stats.field_labels.words" type = "flat" index = 0 subindex = 0 } # words logical_words = { label = "$lang_stats.field_labels.logical_words" type = "flat" index = 0 subindex = 0 } # logical_words page = { label = "$lang_stats.field_labels.page" type = "flat" index = 0 subindex = 0 } # page referrer = { label = "$lang_stats.field_labels.referrer" type = "URL" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # referrer } # log.fields # # Log Parsing Filters log.parsing_filters = { # Parse a line 1 = { label = "1" comment = "" value = "collect_fields_using_regexp('()([0-9]+\\\\.[0-9]+\\\\.[0-9]+\\\\.[0-9]+) \\\\[([^]]*)\\\\] \\\\(([^)]*)\\\\) \\\\[([^]]*)\\\\] \\\\[([^]]*)\\\\] \\\\([^)]*\\\\) - ([^ ]+) -- (.*)$', '*KEY*,remote_ip,config,match_method,words,logical_words,page,referrer')" } # 1 # Accept this log entry 2 = { label = "2" comment = "" value = "accept_collected_entry_using_regexp('^()', false)" } # 2 } # log.parsing_filters # Database fields database.fields = { remote_ip = { label = "$lang_stats.field_labels.remote_ip" log_field = "remote_ip" type = "string" suppress_top = 0 suppress_bottom = 2 } # remote_ip config = { label = "$lang_stats.field_labels.config" log_field = "config" type = "string" suppress_top = 0 suppress_bottom = 2 } # config match_method = { label = "$lang_stats.field_labels.match_method" log_field = "match_method" type = "string" suppress_top = 0 suppress_bottom = 2 } # match_method words = { label = "$lang_stats.field_labels.words" log_field = "words" type = "string" suppress_top = 0 suppress_bottom = 2 } # words logical_words = { label = "$lang_stats.field_labels.logical_words" log_field = "logical_words" type = "string" suppress_top = 0 suppress_bottom = 2 } # logical_words page = { label = "$lang_stats.field_labels.page" log_field = "page" type = "string" suppress_top = 0 suppress_bottom = 2 display_format_type = "page" } # page referrer = { label = "$lang_stats.field_labels.referrer" log_field = "referrer" type = "string" suppress_top = 1 suppress_bottom = 3 } # referrer } # database.fields database.numerical_fields = { searches = { label = "$lang_stats.field_labels.searches" default = true requires_log_field = false type = "int" display_format_type = "integer" entries_field = true } # searches } # database.numerical_fields log.filters = { mark_entry = { label = '$lang_admin.log_filters.mark_entry_label' comment = '$lang_admin.log_filters.mark_entry_comment' value = 'searches = 1;' } # mark_entry } # log.filters create_profile_wizard_options = { host_tracking = true # How the reports should be grouped in the report menu report_groups = { date_time_group = "" remote_ip = true config = true match_method = true words = true logical_words = true page = true referrer = true } # report_groups } # create_profile_wizard_options not_supported = { sessions = true pageviews = true bandwidth = true visitors = true } # not_supported } # htdig