Skip to content

Instantly share code, notes, and snippets.

@taotetek
Created November 21, 2015 18:14
Show Gist options
  • Select an option

  • Save taotetek/a6c073b283a7cc774e4c to your computer and use it in GitHub Desktop.

Select an option

Save taotetek/a6c073b283a7cc774e4c to your computer and use it in GitHub Desktop.
module(load="imczmq")
input(
type="imczmq"
endpoints=">tcp://127.0.0.1:31337"
socktype="ROUTER"
authtype="CURVESERVER"
clientcertpath="/home/bknox/.curve/"
servercertpath="/home/bknox/.curve/logging_server_cert"
)
*.* /tmp/yay1.log
module(load="omczmq")
module(load="imtcp")
input(type="imtcp" port="33333")
action(
name="bench"
type="omczmq"
endpoints="@tcp://*:31337"
socktype="DEALER"
authtype="CURVECLIENT"
clientcertpath="/home/bknox/.curve/logging_client_cert"
servercertpath="/home/bknox/.curve/logging_server_cert"
template="RSYSLOG_ForwardFormat"
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment