# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. net_gear = { plugin_version = "1.0.1" # Initial creation - 1.0 # 2011-07-06 - 1.0.1 - MSG - Edited info lines. info.1.manufacturer = "Netgear" info.1.device = "Firewall" info.1.version.1 = "DG814" # Note: based on log from DG814 router. # The name of the log format log.format.format_label = "NetGear Log Format" log.miscellaneous.log_data_type = "firewall" log.miscellaneous.log_format_type = "network_device" # The log is in this format if any of the first ten lines match this regular expression log.format.autodetect_regular_expression = "^[0-9]+\\| --Source:" # This regular expression is used to parse the log fields out of the log entry log.format.parsing_regular_expression = "^[0-9]+\\| [A-Za-z]+, [0-9]+ [A-Za-z]+ [0-9]+ ([0-9]+:[0-9]+:[0-9]+) Source:([^ ]+) ([^:]+):(.*)$" # Time format; there is no date log.format.time_format = "hh:mm:ss" # A log entry is an access statistics.miscellaneous.entry_name = "accesses" # Log fields log.fields = { # date date 0 0 "" false false false "" time = { label = "$lang_stats.field_labels.time" type = "time" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # time source_ip = { label = "$lang_stats.field_labels.source_ip" type = "host" index = 0 subindex = 0 hierarchy_dividers = "." left_to_right = false leading_divider = "false" } # source_ip operation = { label = "$lang_stats.field_labels.operation" type = "flat" index = 0 subindex = 0 } # operation destination_host = { label = "$lang_stats.field_labels.destination_host" type = "flat" index = 0 subindex = 0 } # destination_host } # log.fields # 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 operation = { label = "$lang_stats.field_labels.operation" log_field = "operation" type = "string" suppress_top = 0 suppress_bottom = 2 } # operation source_ip = { label = "$lang_stats.field_labels.source_ip" log_field = "source_ip" type = "string" suppress_top = 0 suppress_bottom = 2 } # source_ip destination_host = { label = "$lang_stats.field_labels.destination_host" log_field = "destination_host" type = "string" suppress_top = 0 suppress_bottom = 2 } # destination_host } # 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 type = "int" display_format_type = "integer" entries_field = true } # accesses visitors = { label = "$lang_stats.field_labels.visitors" default = false requires_log_field = true log_field = "source_ip" type = "unique" display_format_type = "integer" } # visitors } # database.numerical_fields create_profile_wizard_options = { date_time_tracking = true host_tracking = true # How the reports should be grouped in the report menu report_groups = { date_time_group = "" operation = true source_ip = true destination_host = true } # report_groups } # create_profile_wizard_options not_supported = { daybyday = true sessionpages = true pageviews = true bandwidth = true } # not_supported } # net_gear