From 8c6a61bb87119affc047af3ec94c1eaae324f4f6 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Tue, 28 Jul 2015 10:48:49 -0400 Subject: doc: mention how to run syslog server --- doc/examples/cloud-config-rsyslog.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc/examples/cloud-config-rsyslog.txt') 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 -- cgit v1.2.3