# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. flash_fxp = { plugin_version = "1.0.1" # Initial creation - 1.0 # 2010-11-17 - 1.0.1 - MSG - Edited info lines and fixed typo in the label (change FSP to FXP). info.1.manfacturer = "OpenSight Software" info.1.device = "FlashFXP" info.1.version.1 = "3.6" # The name of the log format log.format.format_label = "Flash FXP Log Format" log.miscellaneous.log_data_type = "ftp" log.miscellaneous.log_format_type = "ftp_server" # The log is in this format if any of the first ten lines match this regular expression log.format.autodetect_regular_expression = "Connected to [0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]* Port [0-9]*$" # All log field parsing will be done using the parsing filters log.format.parse_only_with_filters = "true" # Log fields log.fields = { server_ip = { label = "$lang_stats.field_labels.server_ip" type = "flat" index = 0 subindex = 0 } # server_ip server_port = { label = "$lang_stats.field_labels.server_port" type = "flat" index = 0 subindex = 0 } # server_port server_name = { label = "$lang_stats.field_labels.server_name" type = "flat" index = 0 subindex = 0 } # server_name file = { label = "$lang_stats.field_labels.file" type = "flat" index = 0 subindex = 0 } # file operation = { label = "$lang_stats.field_labels.operation" type = "flat" index = 0 subindex = 0 } # operation } # log.fields # # Log Parsing Filters log.parsing_filters = { # Parse connecting to lines 1 = { label = "1" comment = "" value = "collect_fields_using_regexp('^()Connecting to (.*)$', '*KEY*,server_name')" } # 1 # Parse Connected to IP lines 2 = { label = "2" comment = "" value = "collect_fields_using_regexp('^()Connected to ([0-9.]*) Port ([0-9]*)', '*KEY*,server_ip,server_port')" } # 2 # Parse RETR lines 3 = { label = "3" comment = "" value = "collect_fields_using_regexp('^()(RETR) (.*)$', '*KEY*,operation,file')" } # 3 # Accept on RETR lines 4 = { label = "4" comment = "" value = "accept_collected_entry_using_regexp('^()RETR', true)" } # 4 } # log.parsing_filters # Database fields database.fields = { server_ip = { label = "$lang_stats.field_labels.server_ip" log_field = "server_ip" type = "string" suppress_top = 0 suppress_bottom = 2 } # server_ip server_port = { label = "$lang_stats.field_labels.server_port" log_field = "server_port" type = "string" suppress_top = 0 suppress_bottom = 2 } # server_port server_name = { label = "$lang_stats.field_labels.server_name" log_field = "server_name" type = "string" suppress_top = 0 suppress_bottom = 2 } # server_name file = { label = "$lang_stats.field_labels.file" log_field = "file" type = "string" suppress_top = 0 suppress_bottom = 2 } # file operation = { label = "$lang_stats.field_labels.operation" log_field = "operation" type = "string" suppress_top = 0 suppress_bottom = 2 } # operation } # 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 = { # How the reports should be grouped in the report menu report_groups = { date_time_group = "" server_ip = true server_port = true server_name = true file = true operation = true } # report_groups } # create_profile_wizard_options not_supported = { daybyday = true sessions = true visitors = true bandwidth = true pageviews = true individualhosts = true } # not_supported } # flash_fxp