# Copyright (c) 2013 Flowerfire, Inc. All Rights Reserved. limelight_shoutcast = { plugin_version = "1.0" info.1.manufacturer = "Limelight" info.1.device = "SHOUTcast Service" info.1.version.1 = "" # 2013-10-01 - GMF - 1.0 - Initial creation # The name of the log format log.format.format_label = "Limelight SHOUTcast Service 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 #1379970097.220 820.041 50.47.43.84 200 5828646 GET - 80 /stream/playnet_live sc8.ord.llnw.net /stream/playnet_live HTTP/1.1 RMA/1.0%20(compatible;%20RealMedia) - - 770855 log.format.autodetect_regular_expression = "^[0-9]+[.][0-9][0-9][0-9] [0-9.]+ [0-9a-f.:]+ [0-9]+ [0-9]+ [A-Z]+ [^ ]+ [0-9]+ /" # The format of dates and times in this log log.format.date_format = "seconds_since_jan1_1970" log.format.time_format = "seconds_since_jan1_1970" # Log fields log.fields = { date_time.index = 1 seconds_serviced.index = 2 client_ip.index = 3 result_status.index = 4 bytes_xfered.index = 5 request_method.index = 6 bind_addr.index = 7 bind_addr.index = 8 mount_name.index = 9 host_name.index = 10 uri.index = 11 protocol.index = 12 user_agent.index = 13 referrer.index = 14 cookie.index = 15 client_id.index = 16 } # log.fields # Log Filters log.filters = { mark_entry = { label = '$lang_admin.log_filters.mark_entry_label' comment = '$lang_admin.log_filters.mark_entry_comment' value = 'events = 1;' } # mark_entry } # log.filters # Database fields database.fields = { date_time = "" day_of_week = "" hour_of_day = "" client_ip = "" result_status = "" request_method = "" bind_addr = "" bind_addr = "" mount_name = "" host_name = "" uri = "" protocol = "" # user_agent = "" referrer = "" cookie = "" client_id = "" } # database.fields database.numerical_fields = { events = { default = true requires_log_field = false entries_field = true } # events unique_client_ids = { log_field = "client_id" type = "unique" } # unique_client_ids unique_client_ips = { log_field = "client_ip" type = "unique" } # client_ips seconds_serviced = { type = "float" default = true display_format_type = "duration_compact" } # seconds_serviced bytes_xfered = { type = "int" integer_bits = 64 display_format_type = "bandwidth" } # bytes_xfered } # database.numerical_fields create_profile_wizard_options = { # How the reports should be grouped in the report menu report_groups = { date_time_group = "" } # report_groups snapons = { # Attach a media_reports snapon media_reports = { snapon = "media_reports" name = "media_reports" label = "$lang_admin.snapons.media_reports.label" parameters = { user_field.parameter_value = "client_id" client_ip_field.parameter_value = "client_ip" duration_field.parameter_value = "seconds_serviced" have_stream_name_field.parameter_value = true stream_name_field.parameter_value = "mount_name" have_stream_id_field.parameter_value = false # stream_id_field.parameter_value = "c_playerid" # Do the default concurrent connections analysis; it's based on a single duration field, which we have. attach_concurrent_events.parameter_value = true } # parameters } # media_reports # Attach the referrer_analysis snapon referrer_analysis = { snapon = "referrer_analysis" name = "referrer_analysis" label = "$lang_admin.snapons.referrer_analysis.label" prompt_to_attach = true prompt_to_attach_default = false parameters = { referrer_field.parameter_value = "referrer" } # parameters requires_database_fields = { c_referrer = true } # requires_database_fields } # referrer_analysis } # snapons } # create_profile_wizard_options } # limelight_shoutcast