Created
September 13, 2017 21:10
-
-
Save taotetek/9a74227b78f226d896c7edc08cd2424f to your computer and use it in GitHub Desktop.
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
if $programname startswith 'haproxy' then { | |
action( | |
name="haproxy_tcp" | |
type="omfwd" | |
protocol="tcp" | |
target="someserver.digitalocean.com" | |
port="514" | |
) | |
action( | |
name="haproxy_tcp" | |
type="omfwd" | |
protocol="udp" | |
target="someotherserver.digitalocean.com | |
port="514" | |
) | |
action( | |
name="haproxy_file" | |
file="/path/to/my/file.log" | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment