innnews_alt = { # The name of the log format log.format.format_label = "INN News Log Format (Alternate)" log.miscellaneous.log_data_type = "generic" log.miscellaneous.log_format_type = "other" # 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] ([^ ]*) (innd|nnrpd)" # All log field parsing will be done using the parsing filters log.format.parse_only_with_filters = "true" # The format of dates and times in this log log.format.date_format = "mmm dd" 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 server = { label = "$lang_stats.field_labels.server" type = "flat" index = 0 subindex = 0 } # server daemon = { label = "$lang_stats.field_labels.daemon" type = "flat" index = 0 subindex = 0 } # daemon action = { label = "$lang_stats.field_labels.action" type = "flat" index = 0 subindex = 0 } # action message = { label = "$lang_stats.field_labels.message" type = "flat" index = 0 subindex = 0 } # message source_host = { label = "$lang_stats.field_labels.source_host" type = "flat" index = 0 subindex = 0 } # source_host user = { label = "$lang_stats.field_labels.user" type = "flat" index = 0 subindex = 0 } # user group = { label = "$lang_stats.field_labels.group" type = "flat" index = 0 subindex = 0 } # group } # log.fields # # Log Parsing Filters log.parsing_filters = { # Parse out all the header 1 = { label = "1" comment = "" value = "collect_fields_using_regexp('^([A-Z][a-z][a-z] [0-9 ][0-9]) ([0-9][0-9]:[0-9][0-9]:[0-9][0-9]) ([^ ]*) ([a-z0-9]*)\\\\[([0-9]*)\\\\]: ([^ ]+) (.*)', 'date,time,server,daemon,*KEY*,source_host,message')" } # 1 # Extract user info 2 = { label = "2" comment = "" value = "collect_fields_using_regexp('^... [0-9 ][0-9] [0-9:]* [^ ]* [a-z0-9]*\\\\[([0-9]*)\\\\]: ([^ ]*) user (.*)', '*KEY*,source_host,user')" } # 2 # Extract group info 3 = { label = "3" comment = "" value = "collect_fields_using_regexp('^... [0-9 ][0-9] [0-9:]* [^ ]* [a-z0-9]*\\\\[([0-9]*)\\\\]: ([^ ]*) group ([^ ]*)', '*KEY*,source_host,group')" } # 3 # Extract action info 4 = { label = "4" comment = "" value = "collect_fields_using_regexp('^... [0-9 ][0-9] [0-9:]* [^ ]* [a-z0-9]*\\\\[([0-9]*)\\\\]: ([^ ]+) (post) ok', '*KEY*,source_host,action')" } # 4 # Accept this log entry if it's a times line 5 = { label = "5" comment = "" value = "accept_collected_entry_using_regexp('^... [0-9 ][0-9] [0-9:]* [^ ]* [a-z0-9]*\\\\[([0-9]*)\\\\]: [^ ]* times [0-9.]*', false)" } # 5 } # log.parsing_filters # Log Filters log.filters = { # Use the source host as the visitor id # If it's not a "post" action, then it must be a "read" action 1 = { label = "1" comment = "" value = "if (action eq 'post') then '' else action = 'read';" } # 1 mark_entry = { label = '$lang_admin.log_filters.mark_entry_label' comment = '$lang_admin.log_filters.mark_entry_comment' value = 'messages = 1;' } # mark_entry } # log.filters # 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 daemon = { label = "$lang_stats.field_labels.daemon" log_field = "daemon" type = "string" suppress_top = 0 suppress_bottom = 2 } # daemon server = { label = "$lang_stats.field_labels.server" log_field = "server" type = "string" suppress_top = 0 suppress_bottom = 2 } # server action = { label = "$lang_stats.field_labels.action" log_field = "action" type = "string" suppress_top = 0 suppress_bottom = 2 } # action user = { label = "$lang_stats.field_labels.user" log_field = "user" type = "string" suppress_top = 0 suppress_bottom = 2 } # user group = { label = "$lang_stats.field_labels.group" log_field = "group" type = "string" suppress_top = 0 suppress_bottom = 2 } # group } # database.fields database.numerical_fields = { messages = { label = "$lang_stats.field_labels.messages" default = true requires_log_field = false type = "int" display_format_type = "integer" entries_field = true } # messages unique_source_ips = { label = "$lang_stats.field_labels.unique_source_ips" default = false requires_log_field = true log_field = "source_host" type = "unique" display_format_type = "integer" } # unique_source_ips } # 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 source_host = true daemon = true server = true action = true user = true group = true } # report_groups } # create_profile_wizard_options not_supported = { bandwidth = true sessions = true pageviews = true individualhosts = true } # not_supported } # innnews_alt