# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. tomsquare = { plugin_version = "1.0" # 2012-01-27 - 1.0 - GMF - Initial creation info.1.manufacturer = "SquareSpace" info.1.device = "Tomcat Tomsquare" info.1.version.1 = "" # The name of the log format log.format.format_label = "SquareSpace Tomsquare Log Format" log.miscellaneous.log_data_type = "http_access" log.miscellaneous.log_format_type = "web_server" # The log is in this format if any of the first ten lines match this regular expression # 2012-01-19 00:00:00:042 GMT+00:00 [http-80-609] INFO UserRouter - client(97.100.215.239/?) for(abcdef/783875) - accessing: /storage/bg_gradient3.jpg SS_MID: log.format.autodetect_regular_expression = "^[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][0-9]:[0-9][0-9][0-9] [^ ]+ [[][^]]+[]] INFO " # This regular expression is used to parse the log fields out of the log entry # log.format.parsing_regular_expression = "^([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][0-9]):[0-9][0-9][0-9] [^ ]+ [[]([^]]+)[]] ([^ ]+) ([^ ]+) ([^ ]+) client[(]([^/]+/([^)]+)[)] for [(]([^/]+)/([^)]+)[)].*SS_MID: (.*)$" log.format.parsing_regular_expression = "^([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][0-9]):[0-9][0-9][0-9] [^ ]+ [[]([^]]+)[]] ([^ ]+) ([^ ]+)( [[][^]]+[]]| )([^ ]+) client[(]([^/]+)/([^)]+)[)] for[(]([^/]+)/([^)]+)[)].*SS_MID:(.*)$" # Log fields log.fields = { date = "" time = "" #time_zone = "" thread_id = "" level = "" java_class = "" spacer = "" action = "" client_ip = "" velocity_score = "" website_identifier = "" website_id = "" ss_mid = "" } # log.fields # Database fields database.fields = { thread_id = "" level = "" java_class = "" # spacer = "" action = "" client_ip = "" velocity_score = "" website_identifier = "" website_id = "" ss_mid = "" } # 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 = 'events = 1;' } # mark_entry } # log.filters database.numerical_fields = { events = { default = true requires_log_field = false entries_field = true } # events } # database.numerical_fields create_profile_wizard_options = { # How the reports should be grouped in the report menu report_groups = { date_time_group = "" } # report_groups } # create_profile_wizard_options } # tomsquare