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
/var/log/graylog2.log { | |
daily | |
rotate 90 | |
copytruncate | |
delaycompress | |
compress | |
notifempty | |
missingok | |
} |
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
#!/bin/sh | |
# | |
# graylog2-server: graylog2 message collector | |
# | |
# chkconfig: - 98 02 | |
# description: This daemon listens for syslog and GELF messages and stores them in mongodb | |
# | |
CMD=$1 | |
NOHUP=`which nohup` |
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
#rsyslog v3 config file | |
# if you experience problems, check | |
# http://www.rsyslog.com/troubleshoot for assistance | |
#### MODULES #### | |
# Provides UDP syslog reception | |
$ModLoad imudp.so | |
$UDPServerRun 514 |
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
#!/bin/bash | |
# | |
# rsyslogforwarder Starts rsyslogd/rklogd forwarder. | |
# | |
# | |
# chkconfig: 2345 12 88 | |
# description: Syslog is the facility by which many daemons use to log \ | |
# messages to various system log files. It is a good idea to always \ | |
# run rsyslog. | |
### BEGIN INIT INFO |
NewerOlder