Last active
February 8, 2017 14:02
-
-
Save faxm0dem/763e2c9b6fbcf136c19fd01f9ca640c9 to your computer and use it in GitHub Desktop.
syslog-ng flags final
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 | |
source s_tdin { | |
file("/dev/stdin" flags(no-parse)); | |
}; | |
destination d_one { | |
file("/tmp/one"); | |
}; | |
destination d_two { | |
file("/tmp/two"); | |
}; | |
destination d_all { | |
file("/tmp/all"); | |
}; | |
filter f_one { | |
message('one'); | |
}; | |
filter f_two { | |
message('two'); | |
}; | |
log { | |
source(s_tdin); | |
filter(f_one); | |
destination(d_one); | |
flags(final); | |
}; | |
log { | |
source(s_tdin); | |
filter(f_two); | |
destination(d_two); | |
flags(final); | |
}; | |
log { | |
source(s_tdin); | |
destination(d_all); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment