iscdhcpleases = { # The name of the log format log.format.format_label = "ISC DHCP Leases Log Format" log.miscellaneous.log_data_type = "generic" 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 = "dhcpd.leases" # All log field parsing will be done using the parsing filters log.format.parse_only_with_filters = "true" # The format of dates and times in this log log.format.date_format = "yyyy/mm/dd" log.format.time_format = "hh:mm:ss" # An entry in this log is called an "lease" in the statistics statistics.miscellaneous.entry_name = "leases" # Log fields log.fields = { date = { label = "$lang_stats.field_labels.date" type = "date" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # date time = { label = "$lang_stats.field_labels.time" type = "time" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # time ip_address = { label = "$lang_stats.field_labels.ip_address" type = "flat" index = 0 subindex = 0 } # ip_address binding_state = { label = "$lang_stats.field_labels.binding_state" type = "flat" index = 0 subindex = 0 } # binding_state next_binding_state = { label = "$lang_stats.field_labels.next_binding_state" type = "flat" index = 0 subindex = 0 } # next_binding_state hardware_ethernet = { label = "$lang_stats.field_labels.hardware_ethernet" type = "flat" index = 0 subindex = 0 } # hardware_ethernet client_hostname = { label = "$lang_stats.field_labels.client_hostname" type = "flat" index = 0 subindex = 0 } # client_hostname uid = { label = "$lang_stats.field_labels.uid" type = "flat" index = 0 subindex = 0 } # uid } # log.fields # # Log Parsing Filters log.parsing_filters = { # Parse out the IP address 1 = { label = "1" comment = "" value = "collect_fields_using_regexp('^()lease ([0-9.]+) ', '*KEY*,ip_address')" } # 1 # Parse out the starting time 2 = { label = "2" comment = "" value = "collect_fields_using_regexp('^() starts [0-9]+ ([0-9/]+) ([0-9:]+);', '*KEY*,date,time')" } # 2 # Parse out the binding state 3 = { label = "3" comment = "" value = "collect_fields_using_regexp('^() binding state (.*);', '*KEY*,binding_state')" } # 3 # Parse out the next binding state 4 = { label = "4" comment = "" value = "collect_fields_using_regexp('^() next binding state (.*);', '*KEY*,next_binding_state')" } # 4 # Parse out the hardware ethernet 5 = { label = "5" comment = "" value = "collect_fields_using_regexp('^() hardware ethernet (.*);', '*KEY*,hardware_ethernet')" } # 5 # Parse out the uid 6 = { label = "6" comment = "" value = "collect_fields_using_regexp('^() uid (.*);', '*KEY*,uid')" } # 6 # Parse out the client hostname 7 = { label = "7" comment = "" value = "collect_fields_using_regexp('^() client-hostname (.*);', '*KEY*,client_hostname')" } # 7 # Accept on closing bracket 8 = { label = "8" comment = "" value = "accept_collected_entry_using_regexp('^\\\\$}', false)" } # 8 } # log.parsing_filters # 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 ip_address = { label = "$lang_stats.field_labels.ip_address" log_field = "ip_address" type = "string" suppress_top = 0 suppress_bottom = 2 } # ip_address binding_state = { label = "$lang_stats.field_labels.binding_state" log_field = "binding_state" type = "string" suppress_top = 0 suppress_bottom = 2 } # binding_state next_binding_state = { label = "$lang_stats.field_labels.next_binding_state" log_field = "next_binding_state" type = "string" suppress_top = 0 suppress_bottom = 2 } # next_binding_state hardware_ethernet = { label = "$lang_stats.field_labels.hardware_ethernet" log_field = "hardware_ethernet" type = "string" suppress_top = 0 suppress_bottom = 2 } # hardware_ethernet client_hostname = { label = "$lang_stats.field_labels.client_hostname" log_field = "client_hostname" type = "string" suppress_top = 0 suppress_bottom = 2 } # client_hostname uid = { label = "$lang_stats.field_labels.uid" log_field = "uid" type = "string" suppress_top = 0 suppress_bottom = 2 } # uid } # database.fields database.numerical_fields = { leases = { label = "$lang_stats.field_labels.leases" default = true requires_log_field = false type = "int" display_format_type = "integer" entries_field = true } # leases } # database.numerical_fields log.filters = { mark_entry = { label = '$lang_admin.log_filters.mark_entry_label' comment = '$lang_admin.log_filters.mark_entry_comment' value = 'leases = 1;' } # mark_entry } # log.filters create_profile_wizard_options = { date_time_tracking = true # How the reports should be grouped in the report menu report_groups = { date_time_group = "" day_of_week = true hour_of_day = true ip_address = true binding_state = true next_binding_state = true hardware_ethernet = true client_hostname = true uid = true } # report_groups } # create_profile_wizard_options not_supported = { visitors = true sessions = true pageviews = true bandwidth = true } # not_supported } # iscdhcpleases