summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2015-07-28 10:48:49 -0400
committerScott Moser <smoser@ubuntu.com>2015-07-28 10:48:49 -0400
commit8c6a61bb87119affc047af3ec94c1eaae324f4f6 (patch)
tree7f0e8e5ea4b920702885672c4e4d72689b1f9c71
parent0a581732a40ff814b1fc0dace9f519b7a5c779e6 (diff)
downloadvyos-cloud-init-8c6a61bb87119affc047af3ec94c1eaae324f4f6.tar.gz
vyos-cloud-init-8c6a61bb87119affc047af3ec94c1eaae324f4f6.zip
doc: mention how to run syslog server
-rw-r--r--doc/examples/cloud-config-rsyslog.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/examples/cloud-config-rsyslog.txt b/doc/examples/cloud-config-rsyslog.txt
index ff60e3a8..d54960e8 100644
--- a/doc/examples/cloud-config-rsyslog.txt
+++ b/doc/examples/cloud-config-rsyslog.txt
@@ -35,3 +35,12 @@ rsyslog:
# *.* @@syslogd.example.com
# rsyslog_filename: 20-cloud-config.conf
# rsyslog_dir: /etc/rsyslog.d
+
+## to configure rsyslog to accept remote logging on Ubuntu
+## write the following into /etc/rsyslog.d/20-remote-udp.conf
+## $ModLoad imudp
+## $UDPServerRun 514
+## $template LogRemote,"/var/log/maas/rsyslog/%HOSTNAME%/messages"
+## :fromhost-ip, !isequal, "127.0.0.1" ?LogRemote
+## then:
+## sudo service rsyslog restart