order = { # The name of the log format log.format.format_label = "Order Log Format" 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 = "^======================================================================$" # The format of dates and times in this log log.format.date_format = "mmm dd hh:mm:ss yyyy" log.format.time_format = "mmm dd hh:mm:ss yyyy" # All log field parsing will be done using the parsing filters log.format.parse_only_with_filters = "true" # Log fields log.fields = { date_time = { label = "$lang_stats.field_labels.date_time" type = "date_time" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # date_time name = { label = "$lang_stats.field_labels.name" type = "flat" index = 0 subindex = 0 } # name email = { label = "$lang_stats.field_labels.email" type = "flat" index = 0 subindex = 0 } # email order = { label = "$lang_stats.field_labels.order" type = "flat" index = 0 subindex = 0 } # order invoice = { label = "$lang_stats.field_labels.invoice" type = "flat" index = 0 subindex = 0 } # invoice shipping_method = { label = "$lang_stats.field_labels.shipping_method" type = "flat" index = 0 subindex = 0 } # shipping_method total = { label = "$lang_stats.field_labels.total" type = "flat" index = 0 subindex = 0 } # total lines_since_email = { label = "$lang_stats.field_labels.lines_since_email" type = "flat" index = 0 subindex = 0 } # lines_since_email } # log.fields # # Log Parsing Filters log.parsing_filters = { # Parse an Order line 1 = { label = "1" comment = "" value = "collect_fields_using_regexp('^()Order #([^ ]*) placed at:[A-Z][a-z][a-z] (.*)$', '*KEY*,order,date_time')" } # 1 # Parse an Invoice line 2 = { label = "2" comment = "" value = "collect_fields_using_regexp('^()Invoice (.*)$', '*KEY*,invoice')" } # 2 # Parse a Total line 3 = { label = "3" comment = "" value = "collect_fields_using_regexp('^() *Total: *(\\\\$.*)$', '*KEY*,total')" } # 3 # Parse an E-mail: line 4 = { label = "4" comment = "" value = "collect_fields_using_regexp('^()E-mail: (.*)$', '*KEY*,email')" } # 4 # Parse a Shipping Method line 5 = { label = "5" comment = "" value = "collect_fields_using_regexp('^()Shipping Method: (.*)$', '*KEY*,shipping_method')" } # 5 # If this is the E-mail line, start the lines since email counter; otherwise, increment it 6 = { label = "6" comment = "" value = "if (starts_with(entire_line, 'E-mail')) then internal.0 = 'lines since email' else internal.1 += lines since email" } # 6 # Get the name field 7 = { label = "7" comment = "" value = "if (variable eq '1') then collect_fields_using_regexp('^()(.*)$', '*KEY*,name')" } # 7 # Accept a collected field when there is a "Payment Information:" line 8 = { label = "8" comment = "" value = "accept_collected_entry_using_regexp('^()Payment Information: ', false)" } # 8 } # log.parsing_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 name = { label = "$lang_stats.field_labels.name" log_field = "name" type = "string" suppress_top = 0 suppress_bottom = 2 } # name email = { label = "$lang_stats.field_labels.email" log_field = "email" type = "string" suppress_top = 0 suppress_bottom = 2 } # email order = { label = "$lang_stats.field_labels.order" log_field = "order" type = "string" suppress_top = 0 suppress_bottom = 2 } # order invoice = { label = "$lang_stats.field_labels.invoice" log_field = "invoice" type = "string" suppress_top = 0 suppress_bottom = 2 } # invoice shipping_method = { label = "$lang_stats.field_labels.shipping_method" log_field = "shipping_method" type = "string" suppress_top = 0 suppress_bottom = 2 } # shipping_method total = { label = "$lang_stats.field_labels.total" log_field = "total" type = "string" suppress_top = 0 suppress_bottom = 2 } # total } # 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 # How the reports should be grouped in the report menu report_groups = { date_time_group = "" day_of_week = true hour_of_day = true name = true email = true order = true invoice = true shipping_method = true total = true } # report_groups } # create_profile_wizard_options not_supported = { visitors = true sessions = true pageviews = true bandwidth = true individualhosts = true } # not_supported } # order