# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. zy_xelcommunications = { plugin_version = "1.0.1" # Initial creation - 1.0 # 2011-07-27 - 1.0.1 - MSG - Edited info lines. info.1.manufacturer = "ZyXEL Communications" info.1.device = "ZyXEL Communications" info.1.version.1 = "" # The name of the log format log.format.format_label = "ZyXEL Communications Log Format" log.miscellaneous.log_data_type = "syslog_required" 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 = "ZyXEL Communications Corp.:" # Log fields log.fields = { source_host = { label = "$lang_stats.field_labels.source_host" type = "flat" index = 0 subindex = 0 } # source_host source_port = { label = "$lang_stats.field_labels.source_port" type = "flat" index = 0 subindex = 0 } # source_port destination_host = { label = "$lang_stats.field_labels.destination_host" type = "flat" index = 0 subindex = 0 } # destination_host destination_port = { label = "$lang_stats.field_labels.destination_port" type = "flat" index = 0 subindex = 0 } # destination_port protocol = { label = "$lang_stats.field_labels.protocol" type = "flat" index = 0 subindex = 0 } # protocol } # log.fields # # Log Parsing Filters log.parsing_filters = { # Parse out the source host, destination host, source port, destination port 1 = { label = "1" comment = "" value = "collect_fields_using_regexp('()IP\\\\[Src=([0-9.]+) Dst=([0-9.]+) ([A-Z]+) spo=([0-9]+) +dpo=([0-9]+)', '*KEY*,source_host,destination_host,protocol,source_port,destination_port')" } # 1 # Parse out the source host, destination host, protocol--odd 2 = { label = "2" comment = "" value = "collect_fields_using_regexp('()IP\\\\[Src=([0-9.]+) Dst=([0-9.]+) Proto=([0-9]+)', '*KEY*,source_host,destination_host,protocol')" } # 2 # Parse out the source host, destination host, protocol 3 = { label = "3" comment = "" value = "collect_fields_using_regexp('()IP\\\\[Src=([0-9.]+) Dst=([0-9.]+) ([A-Z]+)', '*KEY*,source_host,destination_host,protocol')" } # 3 # Accept any line 4 = { label = "4" comment = "" value = "accept_collected_entry_using_regexp('()', false)" } # 4 } # log.parsing_filters # Database fields database.fields = { source_host = { label = "$lang_stats.field_labels.source_host" log_field = "source_host" type = "string" suppress_top = 0 suppress_bottom = 2 } # source_host source_port = { label = "$lang_stats.field_labels.source_port" log_field = "source_port" type = "string" suppress_top = 0 suppress_bottom = 2 } # source_port destination_host = { label = "$lang_stats.field_labels.destination_host" log_field = "destination_host" type = "string" suppress_top = 0 suppress_bottom = 2 } # destination_host destination_port = { label = "$lang_stats.field_labels.destination_port" log_field = "destination_port" type = "string" suppress_top = 0 suppress_bottom = 2 } # destination_port protocol = { label = "$lang_stats.field_labels.protocol" log_field = "protocol" type = "string" suppress_top = 0 suppress_bottom = 2 } # protocol } # 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 = "" source_host = true source_port = true destination_host = true destination_port = true protocol = true } # report_groups } # create_profile_wizard_options not_supported = { visitors = true sessions = true pageviews = true bandwidth = true } # not_supported } # zy_xelcommunications