Last active
January 27, 2017 11:01
-
-
Save miticojo/d3bb9e2f4847649843e66163d771b5c1 to your computer and use it in GitHub Desktop.
runabove syslog delivery throgh Rsyslog on Centos 6/7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # replace token xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx with the one provided by runabove management console | |
| $template OVHFormat,"<%syslogpriority%>1 %TIMESTAMP:::date-rfc3339% %HOSTNAME% %app-name% %procid% - [TOKEN@XXX X-OVH-TOKEN=\"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx\" priority=\"%syslogpriority-text%\" tag=\"%syslogtag%\" facility=\"%syslogfacility-text%\"] %msg%\n" | |
| *.* @@laas.runabove.com:514;OVHFormat | |
| # Uncomment line below for debug purpose | |
| # *.* /var/log/ovh.log;OVHFormat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment