- 5. Supported platforms
- 6. Product life cycle
- 7. System requirements
- 8. NXLog digital signature verification
- 9. Red Hat Enterprise Linux & CentOS
- 10. Debian & Ubuntu
- 11. SUSE Linux Enterprise Server
- 12. FreeBSD
- 13. OpenBSD
- 14. Microsoft Windows
- 15. Microsoft Nano Server
- 16. Apple macOS
- 17. Docker
- 18. IBM AIX
- 19. Oracle Solaris
- 20. Hardening NXLog
- 21. Relocating NXLog
- 22. Monitoring and recovery
- OS Support
- Enterprise Edition Reference Manual
- NXLog Manager
- NXLog Add-Ons
This topic describes the steps to install and upgrade NXLog on SUSE Linux Enterprise Server.
First, download the appropriate NXLog install archive from the NXLog website.
Log in to your account, then click My account at the top of the page.
Under thetab, download the correct archive for your system.
Table 55. Available SLES Files Platform Archive
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server 15
Use SFTP or a similar secure method to transfer the archive to the target server.
Log in to the target server and extract the contents of the archive.
# tar xjf nxlog-5.3.6758_sles15_x86_64.tar.bz2
Table 56. Packages in an SLES Archive Package Description
The main NXLog package
Provides the im_checkpoint module
Provides the im_pcap module
Provides the im_systemd module
Provides the im_wseventing module
Optional: To change the NXLog user and group for the installation, set the
NXLOG_GROUPenvironment variables. During installation a new user and and a new group will be created based on these environment variables. They will be used for User and Group directives in
nxlog.conf, and for the ownership of some directories under
/opt/nxlog. Specifying an already existing user or group is not supported. The created user and group will be deleted on NXLog removal.
# export NXLOG_USER=nxlog2 # export NXLOG_GROUP=nxlog2
Download the public key file from the NXLog’s public contrib repository and import it to the RPM database.
# rpm --import nxlog-pubkey.ascNote
For more details about the package verification, see the Signature Verification for RPM Packages section in the User Guide.
Install the required NXLog packages and their dependencies (this example installs the main NXLog package only).
# zypper install nxlog-5.3.6758_sles15.x86_64.rpm
Configure NXLog by editing
/opt/nxlog/etc/nxlog.conf. General information about configuring NXLog can be found in Configuration. For more details about configuring NXLog to collect logs on Linux, see the GNU/Linux summary.
Verify the configuration file syntax.
# /opt/nxlog/bin/nxlog -v 2020-10-17 08:05:06 INFO configuration OK
Start the service using the
# systemctl start nxlog.service
Check that the NXLog service is running with the
# systemctl | grep nxlog nxlog.service loaded active running NXLog daemon
To update an NXLog installation to the latest release, use
zypper as in the installation instructions above.
It is recommended to make a backup of the configuration files before starting
# zypper install nxlog-5.3.6758_sles12.x86_64.rpm
To replace a trial installation of NXLog Enterprise Edition with a licensed copy of the same version, follow the installation instructions.
|The same user and group will be used for the upgrade as was used for the original installation (see installation step 4 above). Changing to a different user and group during upgrade is not supported.|
To uninstall NXLog, use
zypper remove. To remove any packages
that were dependencies of NXLog but are not required by any
other packages, include the
option. Verify the operation before confirming!
# zypper remove 'nxlog*'
This procedure may not remove all files that were created
while configuring NXLog. Likewise, any files created as
a result of NXLog’s logging operations will not be removed.
To find these files, examine the configuration files that were
used with NXLog and check the installation directory