Created
March 25, 2019 01:54
-
-
Save linuxmalaysia/703b65c9b6ad216b373dc2786ef821a0 to your computer and use it in GitHub Desktop.
Config for rsyslog in /etc/rsyslog.d or rsyslog.conf and named it rsyslog-logstash.conf
This file contains 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
# Setup disk assisted queues | |
# Disable rate limit | |
$SystemLogRateLimitInterval 0 | |
$SystemLogRateLimitBurst 0 | |
$WorkDirectory /var/spool/rsyslog # where to place spool files | |
$ActionQueueFileName fwdRule21 # unique name prefix for spool files | |
$ActionQueueMaxDiskSpace 10g # 10gb space limit (use as much as possible) | |
$ActionQueueType Disk # run in disk | |
$ActionResumeRetryCount -1 # infinite retries if host is down | |
*.* @@ipserverelk:port |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment