Skip to content

Instantly share code, notes, and snippets.

@mrlesmithjr
Created May 12, 2014 13:56
Show Gist options
  • Save mrlesmithjr/eadec9e51382d2426729 to your computer and use it in GitHub Desktop.
Save mrlesmithjr/eadec9e51382d2426729 to your computer and use it in GitHub Desktop.
output {
syslog {
type => "syslog-relay"
facility => "%{syslog_facility}"
host => "solarwinds"
port => 514
severity => "%{syslog_severity}"
}
}
@mrlesmithjr
Copy link
Author

And I receive the following errors.
{:timestamp=>"2014-05-12T09:44:47.589000-0400", :message=>"Invalid setting for syslog output plugin:\n\n output {\n syslog {\n # This setting must be a ["kernel", "user-level", "mail", "daemon", "security/authorization", "syslogd", "line printer", "network news", "uucp", "clock", "security/authorization", "ftp", "ntp", "log audit", "log alert", "clock", "local0", "local1", "local2", "local3", "local4", "local5", "local6", "local7"]\n # Expected one of ["kernel", "user-level", "mail", "daemon", "security/authorization", "syslogd", "line printer", "network news", "uucp", "clock", "security/authorization", "ftp", "ntp", "log audit", "log alert", "clock", "local0", "local1", "local2", "local3", "local4", "local5", "local6", "local7"], got ["%{syslog_facility}"]\n facility => "%{syslog_facility}"\n ...\n }\n }", :level=>:error}
{:timestamp=>"2014-05-12T09:44:47.596000-0400", :message=>"Invalid setting for syslog output plugin:\n\n output {\n syslog {\n # This setting must be a ["emergency", "alert", "critical", "error", "warning", "notice", "informational", "debug"]\n # Expected one of ["emergency", "alert", "critical", "error", "warning", "notice", "informational", "debug"], got ["%{syslog_severity}"]\n severity => "%{syslog_severity}"\n ...\n }\n }", :level=>:error}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment