3.1. The syslog-ng configuration file

The syslog-ng application is configured by editing the syslog-ng.conf file. Use any regular text editor application to modify the file. The precompiled syslog-ng packages include sample configuration files as well.

All identifiers, option names and attributes, and any other strings used in the syslog-ng configuration file are case sensitive. Objects must be defined before they are referenced in another statement.

The following table lists the location of the syslog-ng.conf file on the different platforms. The license.txt license file is also located here.

Operating System Location
Linux, AIX 5.x /etc/syslog-ng/syslog-ng.conf
Solaris, HP-UX, FreeBSD /opt/syslog-ng/syslog-ng.conf

Table 3.1. The location of syslog-ng.conf on different platforms


[Note] Note

On HP-UX and Solaris operating systems the earlier versions of syslog-ng stored the configuration file at /opt/syslog-ng/etc/syslog-ng/syslog-ng.conf.

On Microsoft Windows platforms the syslog-ng agent stores its configuration in the system registry, and can be configured from a graphical interface. See Chapter 5, Collecting logs from Windows hosts for details.


© 2007 BalaBit IT Security
Please send your comments or documentation bugs to: documentation@balabit.com