Configuring a Syslog-Based Access Log Publisher
About this task
You can configure a Syslog-based Access Log Publisher using the dsconfig tool. We recommend that you use syslog locally on localhost and use syslog-ng to send the syslog messages to remote syslog servers.
Because syslog implementations differ by vendor, please review your particular vendor’s syslog configuration.
Steps
-
Use
dsconfigto create a log publisher of type syslog-based-access.If you are using the
dsconfigtool in interactive mode, the menu item for Syslog Facility is an advanced property, which can be exposed by typinga(for "show advanced properties") on the Syslog-Based Access Log Publisher menu.Example:
$ bin/dsconfig create-log-publisher \ --publisher-name "syslog-access" \ --type syslog-based-access \ --set syslog-facility:4 \ --set enabled:true