syslog_ngmessages = { # The name of the log format log.format.format_label = "Syslog NG Messages Log Format" log.miscellaneous.log_data_type = "syslog_required" log.miscellaneous.log_format_type = "syslog_server" # The log is in this format if any of the first ten lines match this regular expression log.format.autodetect_regular_expression = "^[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]T[0-9][0-9]:[0-9][0-9]:[0-9][0-9][-+][0-9][0-9][0-9][0-9] " # All log field parsing will be done using the parsing filters log.format.parse_only_with_filters = "true" # A log entry is called a message statistics.miscellaneous.entry_name = "messages" # Log fields log.fields = { message = { label = "$lang_stats.field_labels.message" type = "flat" index = 0 subindex = 0 } # message } # log.fields # # Log Parsing Filters log.parsing_filters = { # Parse out the message 1 = { label = "1" comment = "" value = "collect_fields_using_regexp('^()[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]T[0-9][0-9]:[0-9][0-9]:[0-9][0-9][-+][0-9][0-9][0-9][0-9] [^ ]+ [^ ]+ [^ ]+ [^:]+: (.*)$', '*KEY*,message')" } # 1 } # log.parsing_filters # Database fields database.fields = { message = { label = "$lang_stats.field_labels.message" log_field = "message" type = "string" suppress_top = 0 suppress_bottom = 2 } # message } # database.fields database.numerical_fields = { messages = { label = "$lang_stats.field_labels.messages" default = true requires_log_field = false type = "int" display_format_type = "integer" entries_field = true } # messages } # database.numerical_fields log.filters = { mark_entry = { label = '$lang_admin.log_filters.mark_entry_label' comment = '$lang_admin.log_filters.mark_entry_comment' value = 'messages = 1;' } # mark_entry } # log.filters create_profile_wizard_options = { # How the reports should be grouped in the report menu report_groups = { date_time_group = "" message = true } # report_groups } # create_profile_wizard_options not_supported = { individualhosts = true sessions = true sessionpages = true bandwidth = true visitors = true pageviews = true } # not_supported } # syslog_ngmessages