Created
December 16, 2015 13:45
-
-
Save faxm0dem/83b14bcaaee63f52ab94 to your computer and use it in GitHub Desktop.
syslog-ng create-dirs
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
@version: 3.5.6 | |
log { | |
source { | |
file( | |
"/dev/stdin", | |
flags(no-parse), | |
); | |
}; | |
destination { | |
file( | |
"/tmp/syslog-ng-createdir/${UNIXTIME}/log", | |
create-dirs(yes), | |
); | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment