bind9_query_with_timestamp = { # The name of the log format log.format.format_label = "Bind 9 Query Log Format (with timestamp)" log.miscellaneous.log_data_type = "generic" log.miscellaneous.log_format_type = "network_device" # The log is in this format if any of the first ten lines match this regular expression log.format.autodetect_regular_expression = "^[A-Z][a-z][a-z] [0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9]\\.[0-9][0-9][0-9]( queries: info: | )client " # This regular expression is used to parse the log fields out of the log entry log.format.parsing_regular_expression = "^([A-Z][a-z][a-z] [0-9][0-9]) ([0-9][0-9]:[0-9][0-9]:[0-9][0-9])\\.[0-9][0-9][0-9]( queries: info: | )client ([0-9.]*)#[0-9]*: query: (.*)$" # The format of dates and times in this log log.format.date_format = "mmm dd" log.format.time_format = "hh:mm:ss" statistics.miscellaneous.entry_name = "lookups" # 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 dummy = { label = "dummy" type = "flat" index = 0 subindex = 0 } # dummy client = { label = "$lang_stats.field_labels.client" type = "flat" index = 0 subindex = 0 } # client query = { label = "$lang_stats.field_labels.query" type = "flat" index = 0 subindex = 0 } # query } # 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 client = { label = "$lang_stats.field_labels.client" log_field = "client" type = "string" suppress_top = 0 suppress_bottom = 2 } # client query = { label = "$lang_stats.field_labels.query" log_field = "query" type = "string" suppress_top = 0 suppress_bottom = 2 } # query } # 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 = 'lookups = 1;' } # mark_entry } # log.filters database.numerical_fields = { lookups = { label = "$lang_stats.field_labels.lookups" default = true requires_log_field = false type = "int" display_format_type = "integer" entries_field = true } # lookups visitors = { label = "$lang_stats.field_labels.visitors" default = false requires_log_field = true log_field = "client" type = "unique" display_format_type = "integer" } # visitors } # database.numerical_fields create_profile_wizard_options = { date_time_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 client = true query = true } # report_groups } # create_profile_wizard_options not_supported = { individualhosts = true bandwidth = true sessions = true pageviews = true } # not_supported } # bind9_query_with_timestamp