Rsyslog for stats collection.

asked 2010-11-03 18:33:24 -0600

twkiel gravatar image

Would anybody happen to have an example of using the default rsyslog on Ubuntu for stats collection, as an alternative to the syslog-ng setup described here, (

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2010-11-04 00:11:23 -0600

twkiel gravatar image

I think I have this sorted out (the logging part anyways).

Ubuntu Maverick: Commented out privdrop lines in /etc/rsyslog.conf to avoid a permissions issue, switched proxy-server.conf's log_facility to LOG_LOCAL1, and added the following into /etc/rsyslog.d/swift.conf,

swift proxy over local1

$template SwiftHourly,"/var/log/swift/hourly/%$YEAR%%$MONTH%%$DAY%%$HOUR%" -/var/log/swift/proxy.log -?SwiftHourly local1.error -/var/log/swift/proxy.error

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2010-11-03 18:33:24 -0600

Seen: 98 times

Last updated: Nov 04 '10