36. Oracle Solaris
NXLog can collect various types of system logs on the Solaris platform. For deployment details, see the supported Solaris platforms, Solaris installation, and monitoring.
- Basic Security Mode (BSM) Auditing
-
The xm_bsm module can be used to parse logs collected with im_file.
Example 185. Collect BSM Audit Logs From the Kernel - Custom Programs
-
The im_exec module allows log data to be collected from custom external programs.
- DNS Monitoring
-
Logs can be collected from BIND 9.
- File Integrity Monitoring
-
File and directory changes can be detected and logged for auditing with the im_fim module. See File Integrity Monitoring.
- Local Syslog
-
Events written to file in Syslog format can be collected with the im_file module and parsed with the xm_syslog module. See Collecting and Parsing Syslog for more information.
Example 188. Reading Syslog Messages From FileThis example uses the im_file module to read messages from
/var/log/messages
and the xm_syslog parse_syslog() procedure to parse them. - Log Files
-
The im_file module can be used to collect events from log files.
Example 189. Reading From Log FilesThis configuration uses the im_file module to read events from the specified log file.
- Process Accounting
-
The im_acct module can be used to gather details about who runs what processes.