HP XC System Software Administration Guide Version 3.0
The syslog-ng.conf Rules File
The syslog-ng.conf rules file defines the order of importance by which the log files are arranged.
The /opt/hptc/syslog-ng/etc/syslog-ng.conf/syslog-ng.conf file defines for the
syslogng_forward service a series of rules on how to handle messages from its clients. The
syslog-ng.conf file contains five types of rules:
Options Defines generic information like reconnection timeouts, FIFO size limits, and so on.
Sources Defines the different sources from which the messages are obtained.
Filters Define the rules to segregate messages. For example, messages can be separated by
host, severity, facility, and so on.
Destinations Contains the devices and files where the messages are sent or saved.
Logs Combines the sources, filters, and destination into specific rules to handle the different
messages.
You can use a text editor, such as emacs or vi, to read the log files, and you can use a variety of text
manipulation commands to find, sort, and format these log files.
Logging Node Events 75