# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. user_activity_tracking = { plugin_version = "1.0.1" # N/A - This is an in-house format. info.1.manufacturer = "Generic" info.1.device = "User Activity Tracking" info.1.version = "" # 2008-04-14 - KBB - 1.0 - Initial creation. # The name of the log format log.format.format_label = "User Activity Tracking 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 #127.0.0.1 - curryk [17/Nov/2006:12:01:09 -0700] "DIR /mouse/nesting materials/" #127.0.0.1 - curryk [17/Nov/2006:12:01:12 -0700] "FILE /mouse/diet/winter/foraging.html" log.format.autodetect_regular_expression = '^[0-9.]+ - [A-Za-z0-9_]+ \\[[0-9]{2}/[A-Z][a-z][a-z]/[0-9]{4}:[0-9]{2}:[0-9]{2}:[0-9]{2} [+-][0-9]+\\] "(FILE|DIR) [^"]+"$' # The log is in this format if any of the first ten lines match this regular expression log.format.parsing_regular_expression = '^([0-9.]+) - ([A-Za-z0-9_]+) \\[([0-9]{2}/[A-Z][a-z][a-z]/[0-9]{4}):([0-9]{2}:[0-9]{2}:[0-9]{2}) [+-][0-9]+\\] "([A-Z]+) ([^"]+)"$' # The format of dates and times in this log log.format.date_format = "dd/mmm/yyyy" log.format.time_format = "auto" # Log fields log.fields = { client_ip = "" user_id = "" date = "" time = "" type = "" file.type = "page" } # log.fields # Database fields database.fields = { date_time = "" hour_of_day = "" day_of_week = "" client_ip = "" user_id = "" date_time = "" type = "" file = "" file_type = "" } # 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 = 'accesses = 1;' } # mark_entry } # log.filters database.numerical_fields = { accesses = { label = $lang_stats.field_labels.accesses default = true requires_log_field = false entries_field = true } # accesses unique_users = { label = $lang_stats.field_labels.unique_users default = true requires_log_field = true log_field = user_id type = unique } # unique_users } # database.numerical_fields create_profile_wizard_options = { report_groups = { date_time_group = "" } # report_groups } # create_profile_wizard_options } # user_activity_tracking