rsyslog
Daniel Eschner
daniel at linux-nerd.de
Tue May 3 07:37:16 UTC 2016
Hi there,
i try to configure rsyslog als central syslog server für my internal stuff.
I configured something like:
$template apacheAccess,"/logs/%HOSTNAME%/apache_access_log"
if $syslogtag == 'apache' then {
local6.info ?apacheAccess
& ~
}
but i see all messages only in syslog like:
May 2 22:25:47 test-logger apache: 192.168.88.14 - - [02/May/2016:22:25:47 +0200] "GET / HTTP/1.1" 200 3594 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17"
May 2 22:25:47 test-logger apache: 192.168.88.14 - - [02/May/2016:22:25:47 +0200] "GET / HTTP/1.1" 200 3594 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17"
May 2 22:25:47 test-logger apache: 192.168.88.14 - - [02/May/2016:22:25:47 +0200] "GET /icons/ubuntu-logo.png HTTP/1.1" 304 180 "http://192.168.71.21/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.1
anyone a idea why it happend not is not shown in the log file which i want to have?
Cheers
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20160503/bcce9fd8/attachment.html>
More information about the ubuntu-users
mailing list