summaryrefslogtreecommitdiffstats
path: root/debian/rsyslog-czmq.README.Debian
blob: cd535e71e5f78508158b0ad01c405763f348e50e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
How to use rsyslog and CZMQ
===========================

Starting with version 8.6.0, rsyslog comes with output and input modules named
"imczmq" and "omczmq", allowing one to publish log messages via the ZeroMQ
protocol. More information about the protocol can be found on the website
http://zeromq.org/

Example configurations, taken from rsyslog upstream, follow.

-------------------------------------------------------------------------------
module(load="imczmq")

input(
	type="imczmq"
	endpoints="tcp://*:24555"
	topics="topic1,topic2,topic3"
	socktype="PULL"
	authtype="CURVESERVER"
	clientcertpath="/etc/curve.d/"
	servercertpath="/etc/curve.d/example_curve_server_cert"
)
-------------------------------------------------------------------------------

Explanation of options:

type: type of action (imczmq for this plugin)
endpoints: comma delimited list of zeromq endpoints (see zeromq documentation)
socktype: zeromq socket type (currently supports PULL and SUB)
authtype: CURVECLIENT or CURVESERVER
clientcertpath:
	if CURVECLIENT, this client's cert
	if CURVESERVER, "*" for all, or a directory of allowed public certs
servercertpath:
	if CURVECLIENT, the servers public cert you wish to connect to
	if CURVESERVER, this servers cert

-------------------------------------------------------------------------------
module(load="omczmq")

action(
	name="curve_server_socket"
	type="omczmq"
	endpoints="tcp://some.server.com:24445"
	socktype="PUSH"
	authtype="CURVECLIENT"
	clientcertpath="/etc/curve.d/example_curve_client_cert"
	servercertpath="/etc/curve.d/example_curve_server_cert"
)
-------------------------------------------------------------------------------

Explanation of options:

name: name of this action
type: type of action (omczmq for this plugin)
endpoints: comma delimited list of zeromq endpoints (see zeromq documentation)
socktype: zeromq socket type (currently supports PUSH and PUB)
authtype: CURVECLIENT or CURVESERVER
clientcertpath:
	if CURVECLIENT, this client's cert
	if CURVESERVER, "*" for all, or a directory of allowed public certs
servercertpath:
	if CURVECLIENT, the servers public cert you wish to connect to
	if CURVESERVER, this servers cert