ice_cast_alternate = { # The name of the log format log.format.format_label = "IceCast Alternate Log Format" log.miscellaneous.log_data_type = "generic" log.miscellaneous.log_format_type = "media_server" # The log is in this format if any of the first ten lines match this regular expression log.format.autodetect_regular_expression = "\\[../.../....:..:..:..\\] \\[.*\\] \\[../.../....:..:..:..\\] Bandwidth:" # This regular expression is used to parse the log fields out of the log entry log.format.parsing_regular_expression = "\\[(../.../....:..:..:..)\\] \\[(.*)\\] Hourly statistics: \\[Client connects: ([0-9]*)\\] \\[Source connects: ([0-9]*)\\] \\[Bytes read: ([0-9]*)\\] \\[Bytes written: ([0-9]*)\\]$" # The format of dates and times in this log log.format.date_format = "dd/mmm/yyyy:hh:mm:ss" log.format.time_format = "dd/mmm/yyyy:hh:mm:ss" # Log fields log.fields = { date_time = { label = "$lang_stats.field_labels.date_time" type = "date_time" index = 1 subindex = 1 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # date_time type = { label = "$lang_stats.field_labels.type" type = "flat" index = 4 subindex = 0 } # type client_connects = { label = "$lang_stats.field_labels.client_connects" type = "flat" index = 5 subindex = 0 } # client_connects source_connects = { label = "$lang_stats.field_labels.source_connects" type = "flat" index = 6 subindex = 0 } # source_connects bytes_read = { label = "$lang_stats.field_labels.bytes_read" type = "flat" index = 7 subindex = 0 } # bytes_read bytes_written = { label = "$lang_stats.field_labels.bytes_written" type = "size" index = 8 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # bytes_written } # 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 type = { label = "$lang_stats.field_labels.type" log_field = "type" type = "string" suppress_top = 0 suppress_bottom = 2 } # type client_connects = { label = "$lang_stats.field_labels.client_connects" log_field = "client_connects" type = "string" suppress_top = 0 suppress_bottom = 2 } # client_connects source_connects = { label = "$lang_stats.field_labels.source_connects" log_field = "source_connects" type = "string" suppress_top = 0 suppress_bottom = 2 } # source_connects } # 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 bytes_written = { label = "$lang_stats.field_labels.bytes_written" default = false requires_log_field = true log_field = "bytes_written" type = "float" display_format_type = "bandwidth" } # bytes_written } # 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 # How the reports should be grouped in the report menu report_groups = { date_time_group = "" day_of_week = true hour_of_day = true type = true client_connects = true source_connects = true } # report_groups } # create_profile_wizard_options not_supported = { visitors = true pageviews = true individualhosts = true sessions = true } # not_supported } # ice_cast_alternate