net_app_filers_audit = { # The name of the log format log.format.format_label = "NetApp Filers Audit Log Format" log.miscellaneous.log_data_type = "generic" log.miscellaneous.log_format_type = "internet_device" # The log is in this format if any of the first ten lines match this regular expression log.format.autodetect_regular_expression = "^[A-Z][a-z][a-z] [A-Z][a-z][a-z] [0-9 ][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9] [A-Z]+ \\[([^:]+: [^:]+:[^:]+|[^:]+:[^:]+)\\]: " # The format of dates and times in this log log.format.date_format = "mmm dd" log.format.time_format = "hh:mm:ss" # All log field parsing will be done using the parsing filters log.format.parse_only_with_filters = "true" # A log entry is an event statistics.miscellaneous.entry_name = "events" # 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 filer_name = { label = "$lang_stats.field_labels.filer_name" type = "flat" index = 0 subindex = 0 } # filer_name hostname = { label = "$lang_stats.field_labels.hostname" type = "host" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # hostname id = { label = "$lang_stats.field_labels.id" type = "flat" index = 0 subindex = 0 } # id command = { label = "$lang_stats.field_labels.command" type = "flat" index = 0 subindex = 0 } # command } # log.fields # # Log Parsing Filters log.parsing_filters = { # Parse out the date/time 1 = { label = "1" comment = "" value = "collect_fields_using_regexp('^()[A-Z][a-z][a-z] ([A-Z][a-z][a-z] [0-9 ][0-9]) ([0-9][0-9]:[0-9][0-9]:[0-9][0-9]) ', '*KEY*,date,time')" } # 1 # Parse out the filer name filer = { label = "filer" comment = "" value = "collect_fields_using_regexp('^()[A-Z][a-z][a-z] [A-Z][a-z][a-z] [0-9 ][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9] [^[]*\\\\[([^:]+): [^]]*\\\\]: ', '*KEY*,filer_name')" } # filer # Parse START line 2 = { label = "2" comment = "" value = "collect_fields_using_regexp('()\\\\]: ([^:]+):START:([^:]*):(.*)$', '*KEY*,id,process,hostname')" } # 2 # Parse IN line 3 = { label = "3" comment = "" value = "collect_fields_using_regexp('():IN:([^:]*):RSH INPUT COMMAND is (.*)$', '*KEY*,process,command')" } # 3 # Accept a collected field when there is a ":END:" line 4 = { label = "4" comment = "" value = "accept_collected_entry_using_regexp('():END:', false)" } # 4 } # 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 filer_name = { label = "$lang_stats.field_labels.filer_name" log_field = "filer_name" type = "string" suppress_top = 0 suppress_bottom = 2 } # filer_name hostname = { label = "$lang_stats.field_labels.hostname" log_field = "hostname" type = "string" suppress_top = 0 suppress_bottom = 2 display_format_type = "hostname" } # hostname id = { label = "$lang_stats.field_labels.id" log_field = "id" type = "string" suppress_top = 0 suppress_bottom = 2 } # id command = { label = "$lang_stats.field_labels.command" log_field = "command" type = "string" suppress_top = 0 suppress_bottom = 2 } # command } # database.fields # Log Filters log.filters = { # This filter uses the hostname field as the visitor id mark_entry = { label = '$lang_admin.log_filters.mark_entry_label' comment = '$lang_admin.log_filters.mark_entry_comment' value = 'events = 1;' } # mark_entry } # log.filters database.numerical_fields = { events = { label = "$lang_stats.field_labels.events" default = true requires_log_field = false type = "int" display_format_type = "integer" entries_field = true } # events visitors = { label = "$lang_stats.field_labels.visitors" default = false requires_log_field = true log_field = "hostname" 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 = "" day_of_week = true hour_of_day = true filer_name = true hostname = true id = true command = true } # report_groups } # create_profile_wizard_options not_supported = { sessions = true sessionpages = true individualhosts = true bandwidth = true pageviews = true } # not_supported } # net_app_filers_audit