summaryrefslogtreecommitdiffstats
path: root/ulogd.conf.in
diff options
context:
space:
mode:
authorAndreas Jaggi <andreas.jaggi@waterwave.ch>2018-05-30 22:15:36 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-06-01 09:27:13 +0200
commit9d9ea2cd70a369a7f665a322e6c53631e01a2570 (patch)
treea67ec831be58df6e8dabc8cf6bffb62652860523 /ulogd.conf.in
parent4d5f038350d42aac883fb9ea924ee96ba739907d (diff)
ulogd: json: send messages to a remote host / unix socket
Extend the JSON output plugin so that the generated JSON stream can be sent to a remote host via TCP/UDP or to a local unix socket. Signed-off-by: Andreas Jaggi <andreas.jaggi@waterwave.ch> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'ulogd.conf.in')
-rw-r--r--ulogd.conf.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/ulogd.conf.in b/ulogd.conf.in
index 62222db..99cfc24 100644
--- a/ulogd.conf.in
+++ b/ulogd.conf.in
@@ -213,6 +213,17 @@ sync=1
# Uncomment the following line to use JSON v1 event format that
# can provide better compatility with some JSON file reader.
#eventv1=1
+# Uncomment the following lines to send the JSON logs to a remote host via UDP
+#mode="udp"
+#host="192.0.2.10"
+#port="10210"
+# Uncomment the following lines to send the JSON logs to a remote host via TCP
+#mode="tcp"
+#host="192.0.2.10"
+#port="10210"
+# Uncomment the following lines to send the JSON logs to a local unix socket
+#mode="unix"
+#file="/var/run/ulogd.socket"
[pcap1]
#default file is /var/log/ulogd.pcap