# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. bind_query_with_timestamp = { plugin_version = "1.0.1" # Initial creation - 1.0 # 2010-10-13 - 1.0.1 - MSG - Edited info lines. info.1.manfacturer = "ISC" info.1.device = "Bind Query DNS Server (with timestamp)" info.1.version.1 = "" # The name of the log format log.format.format_label = "Bind 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 = "[0-9]+-[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][0-9][0-9] (queries: XX|XX)\\+/[0-9.]*/[^/]*/[A-Z]*/[A-Z]*$" # This regular expression is used to parse the log fields out of the log entry log.format.parsing_regular_expression = "([0-9]+-[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][0-9][0-9] (queries: XX|XX)\\+/([0-9.]*)/([^/]*)/([A-Z]*/[A-Z]*)$" # The format of dates and times in this log log.format.date_format = "d/mmm/yyyy" log.format.time_format = "hh:mm:ss" # 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 source_host = { label = "$lang_stats.field_labels.source_host" type = "host" index = 0 subindex = 0 hierarchy_dividers = "." left_to_right = false leading_divider = "false" } # source_host target_host = { label = "$lang_stats.field_labels.target_host" type = "flat" index = 0 subindex = 0 } # target_host operation = { label = "$lang_stats.field_labels.operation" type = "flat" index = 0 subindex = 0 } # operation } # 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_host = { label = "$lang_stats.field_labels.source_host" log_field = "source_host" type = "string" suppress_top = 0 suppress_bottom = 2 } # source_host target_host = { label = "$lang_stats.field_labels.target_host" log_field = "target_host" type = "string" suppress_top = 0 suppress_bottom = 2 } # target_host operation = { label = "$lang_stats.field_labels.operation" log_field = "operation" type = "string" suppress_top = 0 suppress_bottom = 2 } # operation } # database.fields database.numerical_fields = { hits = { label = "$lang_stats.field_labels.hits" default = true requires_log_field = false type = "int" display_format_type = "integer" entries_field = true } # hits } # database.numerical_fields log.filters = { 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 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 = "" source_host = true target_host = true operation = true } # report_groups } # create_profile_wizard_options not_supported = { bandwidth = true sessions = true pageviews = true visitors = true } # not_supported } # bind_query_with_timestamp