# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. kerio_network_monitor = { plugin_version = "1.0.1" # Initial creation - 1.0 # 2011-03-30 - 1.0.1 - MSG - Edited info lines. info.1.manufacturer = "Kerio" info.1.device = "Network Monitor" info.1.version.1 = "" # Kerio Network Monitor log # The name of the log format log.format.format_label = "Kerio Network Monitor Log Format" log.miscellaneous.log_data_type = "network" 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]* [^:]*:[^EI]*[EI][0-9.]*:[0-9]* ->[^EI]*[EI][0-9.]*/[0-9.]*:[0-9]*[^0-9]*[0-9]* \\+ [0-9]*By,[^0-9]*[0-9]*s[^-]*- [^:]*: [0-9.]*" # The format of dates and times in this log log.format.date_format = "seconds_since_jan1_1970" log.format.time_format = "seconds_since_jan1_1970" # This regular expression is used to parse the log fields out of the log entry log.format.parsing_regular_expression = "^([0-9]*) ([^:]*):[^EI]*([EI])([0-9.]*):([0-9]*) ->[^EI]*([EI])([0-9.]*)/[0-9.]*:([0-9]*)[^0-9]*[0-9]* \\+ ([0-9]*)By,[^0-9]*[0-9]*s[^-]*- ([^:]*): ([0-9.]*)" # Log fields log.fields = { date_time = { label = "$lang_stats.field_labels.date_time" type = "date_time" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # date_time protocol = { label = "$lang_stats.field_labels.protocol" type = "flat" index = 0 subindex = 0 } # protocol source_side = { label = "$lang_stats.field_labels.source_side" type = "flat" index = 0 subindex = 0 } # source_side 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 source_port = { label = "$lang_stats.field_labels.source_port" type = "flat" index = 0 subindex = 0 } # source_port destination_side = { label = "$lang_stats.field_labels.destination_side" type = "flat" index = 0 subindex = 0 } # destination_side destination_ip = { label = "$lang_stats.field_labels.destination_ip" type = "flat" index = 0 subindex = 0 } # destination_ip destination_port = { label = "$lang_stats.field_labels.destination_port" type = "flat" index = 0 subindex = 0 } # destination_port size = { label = "$lang_stats.field_labels.size" type = "size" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # size service = { label = "$lang_stats.field_labels.service" type = "flat" index = 0 subindex = 0 } # service service_ip = { label = "$lang_stats.field_labels.service_ip" type = "flat" index = 0 subindex = 0 } # service_ip } # 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 day_of_week = { label = "$lang_stats.field_labels.day_of_week" log_field = "day_of_week" type = "string" suppress_top = 0 suppress_bottom = 2 display_format_type = "day_of_week" } # day_of_week hour_of_day = { label = "$lang_stats.field_labels.hour_of_day" log_field = "hour_of_day" type = "string" suppress_top = 0 suppress_bottom = 2 display_format_type = "hour_of_day" } # hour_of_day protocol = { label = "$lang_stats.field_labels.protocol" log_field = "protocol" type = "string" suppress_top = 0 suppress_bottom = 2 } # protocol source_side = { label = "$lang_stats.field_labels.source_side" log_field = "source_side" type = "string" suppress_top = 0 suppress_bottom = 2 } # source_side source_ip = { label = "$lang_stats.field_labels.source_ip" log_field = "source_ip" type = "string" suppress_top = 0 suppress_bottom = 3 } # source_ip source_port = { label = "$lang_stats.field_labels.source_port" log_field = "source_port" type = "string" suppress_top = 0 suppress_bottom = 2 } # source_port destination_side = { label = "$lang_stats.field_labels.destination_side" log_field = "destination_side" type = "string" suppress_top = 0 suppress_bottom = 2 } # destination_side destination_ip = { label = "$lang_stats.field_labels.destination_ip" log_field = "destination_ip" type = "string" suppress_top = 0 suppress_bottom = 2 } # destination_ip destination_port = { label = "$lang_stats.field_labels.destination_port" log_field = "destination_port" type = "string" suppress_top = 0 suppress_bottom = 2 } # destination_port service = { label = "$lang_stats.field_labels.service" log_field = "service" type = "string" suppress_top = 0 suppress_bottom = 2 } # service service_ip = { label = "$lang_stats.field_labels.service_ip" log_field = "service_ip" type = "string" suppress_top = 0 suppress_bottom = 2 } # service_ip } # 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 size = { label = "$lang_stats.field_labels.size" default = false requires_log_field = true log_field = "size" type = "int" integer_bits = 64 display_format_type = "bandwidth" } # size } # 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 = { date_time_tracking = true host_tracking = true # How the reports should be grouped in the report menu report_groups = { date_time_group = "" protocol = true source_side = true source_ip = true source_port = true destination_side = true destination_ip = true destination_port = true service = true service_ip = true } # report_groups } # create_profile_wizard_options not_supported = { visitors = true sessions = true pageviews = true individualhosts = true } # not_supported } # kerio_network_monitor