Created
July 2, 2015 17:19
-
-
Save taotetek/cfb184fea4d000fac8e9 to your computer and use it in GitHub Desktop.
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
input(type="imudp" port="514" ruleset="to_sagan") # listen for udp on port 514 | |
input(type="imtcp" port="514" ruleset="to_sagan") # listen for tcp on port 514 | |
## REMOTE RULES ############################################################### | |
# send all remote logs to sagan for analysis | |
ruleset(name="to_sagan") { | |
action(type="omfile" file="|/var/run/sagan/sagan.fifo" template="sagan_template") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment