{"id":6025,"date":"2020-06-03T22:51:12","date_gmt":"2020-06-03T19:51:12","guid":{"rendered":"https:\/\/kifarunix.com\/?p=6025"},"modified":"2024-03-14T21:57:48","modified_gmt":"2024-03-14T18:57:48","slug":"install-and-configure-nxlog-ce-on-ubuntu-20-04","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-and-configure-nxlog-ce-on-ubuntu-20-04\/","title":{"rendered":"Install and Configure NXLog CE on Ubuntu 20.04"},"content":{"rendered":"\n<p>In this guide, we are going to learn how to install and configure NXLog CE on Ubuntu 20.04.<\/p>\n\n\n\n<p><a href=\"https:\/\/nxlog.co\/\" target=\"_blank\" rel=\"noreferrer noopener\">NXLog<\/a> is a cross-platform log collection and centralization tool. It collects logs from various types of log sources, formats, and platforms and forwards them securely and reliably to a central log server.<\/p>\n\n\n\n<p>NXLog Community Edition is feature-full. Read about these features on their <a href=\"https:\/\/nxlog.co\/products\/nxlog-community-edition\" target=\"_blank\" rel=\"noreferrer noopener\">page<\/a>.<\/p>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#installing-nx-log-ce-on-ubuntu-20-04\">Installing NXLog CE on Ubuntu 20.04<\/a><ul><li><a href=\"#download-nx-log-debian-binary-package\">Download NXLog Debian Binary Package<\/a><\/li><li><a href=\"#install-nx-log-on-ubuntu-20-04\">Install NXLog on Ubuntu 20.04<\/a><\/li><li><a href=\"#configure-nx-log-to-forward-system-logs-to-rsyslog-server-on-ubuntu\">Configure NXLog to Forward System Logs to Rsyslog Server on Ubuntu<\/a><\/li><li><a href=\"#further-reading\">Further Reading<\/a><\/li><li><a href=\"#related-tutorials\">Related Tutorials<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"installing-nx-log-ce-on-ubuntu-20-04\">Installing NXLog CE on Ubuntu 20.04<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"download-nx-log-debian-binary-package\">Download NXLog Debian Binary Package<\/h3>\n\n\n\n<p>NXLog is not available on the default Ubuntu 20.04 repos. However, it is available as DEB binary package. Thus, to install NXLog on Ubuntu 20.04, you need to download this DEB binary package.<\/p>\n\n\n\n<p>Hence, navigate to <a href=\"https:\/\/nxlog.co\/products\/nxlog-community-edition\/download\" target=\"_blank\" rel=\"noreferrer noopener\">NXLog community edition downloads<\/a> page and grab Ubuntu 20.04 installer.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1403\" height=\"899\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2023\/08\/download-nxlog.png\" alt=\"Install and Configure NXLog CE on Ubuntu 20.04\" class=\"wp-image-18485\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2023\/08\/download-nxlog.png?v=1693252419 1403w, https:\/\/kifarunix.com\/wp-content\/uploads\/2023\/08\/download-nxlog-768x492.png?v=1693252419 768w\" sizes=\"(max-width: 1403px) 100vw, 1403px\" \/><\/figure>\n\n\n\n<p>I have downloaded the binary to my host system Downloads directory and copied it to my Ubuntu 20.04 server;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ls -1 ~\/<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>nxlog-ce_3.2.2329_ubuntu20_amd64.deb<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"install-nx-log-on-ubuntu-20-04\">Install NXLog on Ubuntu 20.04<\/h3>\n\n\n\n<p>Once the download is done, you can now install NXLog CE on Ubuntu 20.04.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt update<\/code><\/pre>\n\n\n\n<p>Replace the path to the NXLog binary accordingly!<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd ~\/Downloads<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt install .\/nxlog-ce_3.2.2329_ubuntu20_amd64.deb<\/pre>\n\n\n\n<pre class=\"scroll-box\"><code>Reading package lists... Done\nBuilding dependency tree       \nReading state information... Done\nNote, selecting 'nxlog-ce' instead of '.\/nxlog-ce_3.2.2329_ubuntu20_amd64.deb'\nThe following additional packages will be installed:\n  libapr1 libdbi1\nSuggested packages:\n  libdbd-mysql libdbd-pgsql libdbd-sqlite3 libdbd-freetds\nThe following NEW packages will be installed:\n  libapr1 libdbi1 nxlog-ce\n0 upgraded, 3 newly installed, 0 to remove and 46 not upgraded.\nNeed to get 119 kB\/614 kB of archives.\nAfter this operation, 3,868 kB of additional disk space will be used.\nDo you want to continue? [Y\/n] y\nGet:1 \/home\/kifarunix\/nxlog-ce_3.2.2329_ubuntu20_amd64.deb nxlog-ce amd64 3.2.2329 [495 kB]\nGet:2 http:\/\/de.archive.ubuntu.com\/ubuntu focal\/main amd64 libapr1 amd64 1.6.5-1ubuntu1 [91.4 kB]\nGet:3 http:\/\/de.archive.ubuntu.com\/ubuntu focal\/main amd64 libdbi1 amd64 0.9.0-5 [27.3 kB]\nFetched 119 kB in 0s (754 kB\/s)\nSelecting previously unselected package libapr1:amd64.\n(Reading database ... 124388 files and directories currently installed.)\nPreparing to unpack ...\/libapr1_1.6.5-1ubuntu1_amd64.deb ...\nUnpacking libapr1:amd64 (1.6.5-1ubuntu1) ...\nSelecting previously unselected package libdbi1:amd64.\nPreparing to unpack ...\/libdbi1_0.9.0-5_amd64.deb ...\nUnpacking libdbi1:amd64 (0.9.0-5) ...\nSelecting previously unselected package nxlog-ce.\nPreparing to unpack ...\/nxlog-ce_3.2.2329_ubuntu20_amd64.deb ...\nUnpacking nxlog-ce (3.2.2329) ...\nSetting up libdbi1:amd64 (0.9.0-5) ...\nSetting up libapr1:amd64 (1.6.5-1ubuntu1) ...\nSetting up nxlog-ce (3.2.2329) ...\nAdding user nxlog to group nxlog\nCreated symlink \/etc\/systemd\/system\/multi-user.target.wants\/nxlog.service \u2192 \/lib\/systemd\/system\/nxlog.service.\nProcessing triggers for libc-bin (2.31-0ubuntu9.9) ...\n<\/code><\/pre>\n\n\n\n<p>NXLog is now installed on Ubuntu 20.04.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt-cache policy nxlog-ce<\/code><\/pre>\n\n\n\n<pre class=\"scroll-sz\"><code>nxlog-ce:\n  Installed: 3.2.2329\n  Candidate: 3.2.2329\n  Version table:\n *** 3.2.2329 100\n        100 \/var\/lib\/dpkg\/status\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"configure-nx-log-to-forward-system-logs-to-rsyslog-server-on-ubuntu\">Configure NXLog to Forward System Logs to Rsyslog Server on Ubuntu<\/h3>\n\n\n\n<p>Proceed with configuration by following the guide below;<\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/configure-nxlog-to-forward-system-logs-to-rsyslog-server-on-ubuntu-18-04\/#configurenxlogforwarding\" target=\"_blank\" rel=\"noreferrer noopener\">How to configure NXLog to forward syslog logs to central Log server<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"further-reading\">Further Reading<\/h3>\n\n\n\n<p><a rel=\"noreferrer noopener\" href=\"https:\/\/nxlog.co\/docs\/nxlog-ce\/nxlog-reference-manual.html\" target=\"_blank\">NXLog Community Edition Reference Manual<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"related-tutorials\">Related Tutorials<\/h3>\n\n\n\n<p><a rel=\"noreferrer noopener\" href=\"https:\/\/kifarunix.com\/configure-nxlog-to-forward-system-logs-to-rsyslog-server-on-ubuntu-18-04\/\" target=\"_blank\">Install and Configure NXLog on Ubuntu 18.04<\/a><\/p>\n\n\n\n<p><a rel=\"noreferrer noopener\" href=\"https:\/\/kifarunix.com\/configure-rsyslog-on-solaris-11-4-to-send-logs-to-remote-log-server\/\" target=\"_blank\">Configure Rsyslog on Solaris 11.4 to Send logs to Remote Log Server<\/a><\/p>\n\n\n\n<p><a rel=\"noreferrer noopener\" href=\"https:\/\/kifarunix.com\/how-to-configure-syslog-to-send-logs-to-remote-syslog-server-on-solaris-11-4\/\" target=\"_blank\">Configure Syslog on Solaris 11.4 for Remote Logging<\/a><\/p>\n\n\n\n<p><a rel=\"noreferrer noopener\" href=\"https:\/\/kifarunix.com\/how-to-configure-remote-logging-with-rsyslog-on-ubuntu-18-04\/\" target=\"_blank\">How to Configure Remote Logging with Rsyslog on Ubuntu 18.04<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this guide, we are going to learn how to install and configure NXLog CE on Ubuntu 20.04. NXLog is a cross-platform log collection and<\/p>\n","protected":false},"author":1,"featured_media":6044,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[121,72,191,331],"tags":[1648,1645,1646,1647,1649,1200],"class_list":["post-6025","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","category-monitoring","category-rsyslog","category-syslog","tag-configure-nxlog-to-forward-syslog-logs","tag-forward-syslog-logs-using-nxlog","tag-install-nxlog-ce-ubuntu-20-04","tag-install-nxlog-ubuntu-20-04","tag-nxlog-ce","tag-ubuntu-20-04","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50","resize-featured-image"],"_links":{"self":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/6025"}],"collection":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/comments?post=6025"}],"version-history":[{"count":11,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/6025\/revisions"}],"predecessor-version":[{"id":21435,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/6025\/revisions\/21435"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media\/6044"}],"wp:attachment":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media?parent=6025"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=6025"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=6025"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}