Question: how to install nxlog on ubuntu?
Answer: Download the appropriate NXLog installation file from the NXLog website. ... 
Transfer the file to the target server using SFTP or a similar secure method.
Log in to the target server and extract the contents of the archive (unless you are using the generic package): ... 
Install the NXLog package(s) and their dependencies.