Skip to content

Instantly share code, notes, and snippets.

@jalogisch
Created April 11, 2013 07:44
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jalogisch/5361502 to your computer and use it in GitHub Desktop.
Save jalogisch/5361502 to your computer and use it in GitHub Desktop.
rsyslog.conf for Graylog2 Forward of ESX Syslog Messages and remove the Information Overflow
$template GRAYLOG2,"<%PRI%>1 %timegenerated:::date-rfc3339% %HOSTNAME% %syslogtag% - %APP-NAME%: %msg:::drop-last-lf%\n"
$ActionForwardDefaultTemplate GRAYLOG2
$PreserveFQDN on
*.err;*.crit;*.alert;*.emerg;cron.*;auth,authpriv.* @GRAYLOG_SERVER:PORT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment