summaryrefslogtreecommitdiffstats
path: root/rules/syslogng.in
blob: 0044905dbe023d57668c5acbd3a7458400f40836 (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
## SECTION=networking
# syslog-ng configuration

menuconfig SYSLOGNG
	tristate
	prompt "syslog-ng                     "
	select EVENTLOG
	select GLIB
	select OPENSSL
	select LIBCURL		if SYSLOGNG_HTTP
	select JSON_C		if SYSLOGNG_JSON
	select PYTHON3		if SYSLOGNG_PYTHON_DESTINATION
	select LIBC_RT
	select LIBNET		if SYSLOGNG_SPOOF_SOURCE
	select LIBPCRE
	select SYSTEMD		if SYSLOGNG_SYSTEMD
	help
	  The next generation syslog daemon.

if SYSLOGNG

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_HTTP
	bool
	prompt "Enable HTTP support"
	help
	  Enable support for the http() destination that is based
	  on libcurl.

config SYSLOGNG_JSON
	bool
	prompt "Enable JSON support"
	help
	  JSON support is required for json-parser, and the format-cim
	  and format-json template functions.

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
	depends on INITMETHOD_BBINIT
	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