summaryrefslogtreecommitdiffstats
path: root/rules/syslogng.in
blob: d4105649ade10110c054f7b6be15c219f29429c5 (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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
## SECTION=networking
# syslog-ng configuration

menuconfig SYSLOGNG
	tristate
	prompt "syslog-ng                     "
	select EVENTLOG
	select GLIB
	select PYTHON		if SYSLOGNG_PYTHON_DESTINATION
	select LIBC_NSL
	select LIBC_RT
	select LIBNET		if SYSLOGNG_SPOOF_SOURCE
	select LIBPCRE
	select TCPWRAPPER	if SYSLOGNG_TCP_WRAPPER
	select SYSTEMD		if SYSLOGNG_SYSTEMD
	help
	  The next generation syslog daemon.

if SYSLOGNG

config SYSLOGNG_TCP_WRAPPER
	bool
	prompt "tcpwrapper support"
	help
	  Support /etc/hosts.deny and /etc/hosts.allow.

config SYSLOGNG_SPOOF_SOURCE
	bool
	prompt "spoof_source feature"
	help
	  Enables the ability for source address spoofing.
	  This means that the host running syslog-ng generates
	  UDP packets with the source IP address matching the
	  original sender of the message. It is useful when
	  you want to perform some kind of preprocessing via
	  syslog-ng then forward messages to your central log
	  management solution with the source address of the
	  original sender. This option only works for UDP
	  destinations though the original message can be
	  received by TCP as well.

config SYSLOGNG_AMQP_DESTINATION
	bool
	prompt "support the AMQP destination"
	help
	  Enables the ability to publish AMQP messages.

config SYSLOGNG_MONGODB_DESTINATION
	bool
	prompt "support the MongoDB destination"
	help
	  Enables the ability to send messages to a MongoDB database.

config SYSLOGNG_PYTHON_DESTINATION
	bool
	prompt "support the python destination"
	help
	  Enables the ability to use inline python in the
	  syslog-ng configuration file.

config SYSLOGNG_STOMP_DESTINATION
	bool
	prompt "support the STOMP destination"
	help
	  Enables the ability to send STOMP messages to message brokers.

comment "runtime options   ---"

config SYSLOGNG_CONFIG
	bool
	default y
	prompt "Install configuration file"
	help
	  Installs (if present) the "./projectroot/etc/syslog-ng.conf"
	  file from your workspace, otherwise a generic one from the
	  ptxdist installation
	  ("<PTXDIST>/projectroot/etc/syslog-ng.conf").

config SYSLOGNG_SYSTEMD
	bool
	default y
	prompt "Enable systemd support"
	depends on INITMETHOD_SYSTEMD
	help
	  Installs the systemd service file and enables support for the
	  systemd-journal

config SYSLOGNG_STARTSCRIPT
	bool
	default y
	help
	  Installs (if present) the
	  "./projectroot/etc/init.d/syslog-ng" startscript from your
	  workspace, otherwise a generic one from the ptxdist
	  installation ("<PTXDIST>/projectroot/etc/init.d/syslog-ng").

endif