# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. ingate_firewall = { plugin_version = "1.0.1" # Initial creation - 1.0 # 2010-12-27 - 1.0.1 - MSG - Edited info lines. info.1.manufacturer = "Ingate" info.1.device = "Firewall" info.1.version.1 = "" # The name of the log format log.format.format_label = "Ingate Firewall Log Format" log.miscellaneous.log_data_type = "syslog_required" log.miscellaneous.log_format_type = "firewall" # The log is in this format if any of the first ten lines match this regular expression log.format.autodetect_regular_expression = "[A-Z]+ [^:]+:[0-9]+ -> [^:]+:[0-9]+ flags .* source iface [^ ]+ destination iface [^:]+:" # A log entry is an access statistics.miscellaneous.entry_name = "accesses" # Log fields log.fields = { protocol = { label = "$lang_stats.field_labels.protocol" type = "flat" index = 0 subindex = 0 } # protocol source_host = { label = "$lang_stats.field_labels.source_host" type = "host" index = 0 subindex = 0 hierarchy_dividers = "." left_to_right = false leading_divider = "false" } # source_host source_port = { label = "$lang_stats.field_labels.source_port" type = "flat" index = 0 subindex = 0 } # source_port source_interface = { label = "$lang_stats.field_labels.source_interface" type = "flat" index = 0 subindex = 0 } # source_interface 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 destination_interface = { label = "$lang_stats.field_labels.destination_interface" type = "flat" index = 0 subindex = 0 } # destination_interface flags = { label = "$lang_stats.field_labels.flags" type = "flat" index = 0 subindex = 0 } # flags operation = { label = "$lang_stats.field_labels.operation" type = "flat" index = 0 subindex = 0 } # operation result = { label = "$lang_stats.field_labels.result" type = "flat" index = 0 subindex = 0 } # result } # log.fields # # Log Parsing Filters log.parsing_filters = { # Parse out the router portions of line 1 = { label = "1" comment = "" value = "collect_fields_using_regexp('()([A-Z]+) ([^:]+):([0-9]+) -> ([^:]+):([0-9]+) flags (.*) source iface ([^ ]+) destination iface ([^:]+): (.*)$', '*KEY*,protocol,source_host,source_port,destination_host,destination_port,flags,source_interface,destination_interface,result')" } # 1 # Accept this log entry 2 = { label = "2" comment = "" value = "accept_collected_entry_using_regexp('^()', false)" } # 2 } # log.parsing_filters # Database fields database.fields = { protocol = { label = "$lang_stats.field_labels.protocol" log_field = "protocol" type = "string" suppress_top = 0 suppress_bottom = 2 } # protocol 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 source_interface = { label = "$lang_stats.field_labels.source_interface" log_field = "source_interface" type = "string" suppress_top = 0 suppress_bottom = 2 } # source_interface 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 destination_interface = { label = "$lang_stats.field_labels.destination_interface" log_field = "destination_interface" type = "string" suppress_top = 0 suppress_bottom = 2 } # destination_interface flags = { label = "$lang_stats.field_labels.flags" log_field = "flags" type = "string" suppress_top = 0 suppress_bottom = 2 } # flags result = { label = "$lang_stats.field_labels.result" log_field = "result" type = "string" suppress_top = 0 suppress_bottom = 2 } # result } # 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_host" type = "unique" display_format_type = "integer" } # visitors } # database.numerical_fields create_profile_wizard_options = { host_tracking = true # How the reports should be grouped in the report menu report_groups = { date_time_group = "" protocol = true source_host = true source_port = true source_interface = true destination_host = true destination_port = true destination_interface = true flags = true result = true } # report_groups } # create_profile_wizard_options not_supported = { bandwidth = true pageviews = true sessionpages = true } # not_supported } # ingate_firewall