These are the distributions supported by the Lumu Log Forwarder Agent for Linux as well as the supported versions of each. If you are using a version or distribution not found on this list, it will be under your own responsibility, as Lumu will only provide official support to the ones listed in this article:
Distribution | Version |
Ubuntu |
|
RHEL |
|
You can quickly set up the Lumu Log Forwarder Agent for Linux using the provided installer. This is the fastest and easiest way to use the Lumu Log Forwarder Agent on your Linux environments. It is the recommended installation method.
1. First, download the installer from the Lumu Portal. Open the ‘Collectors’ drop-down, and select ‘Log Forwarders’. Once there, click on ‘Download for’ and select Linux. You will see a menu that will allow you to download the installer.
2. Once downloaded, you must carry out some preparations before running the installer. First, you must set it to executable mode. To do so, run the following commands in the terminal:
3. Now, you must run the installer. This is the first screen you will see once you run the installer:
A basic installation procedure must make use of the ‘install’ or ‘license’ options.
4. Enter -i or --install. This will install the Lumu Log Forwarder Agent on your Linux-based system.
This is the manual installation procedure of the Lumu Log Forwarder Agent for Linux in supported Ubuntu environments.
1. Update the apt package index and install packages to allow apt to use a repository over HTTPS:
2. Add Lumu’s official GPG key:
3. Use the following command to set up the repository:
4. Update the apt package index and install the lumu-forwarder-agent package.
This is the manual installation procedure of the Lumu Log Forwarder Agent for Linux in supported RHEL environments.
1. Install the yum-utils package (which provides the commands to manage your YUM repositories), and set up the repository.
2. Install the Lumu Linux Log Forwarder Agent.
Once you have installed the agent, you must activate it. This step is identical for all distributions
Run the following command with the activation code that corresponds to the assigned group.
If the activation was carried out correctly, you should see the following message:
Activation successful!
Otherwise, please consult this article’s Command Quick Reference for Agent Support section.
Regardless of whether or not you installed the Lumu Log Forwarder Agent using our installer, you can remove it and its repository from your system through the installer by using the -u or --uninstall option.
This is the manual uninstallation procedure of the Lumu Log Forwarder Agent, its repository, and key on a system using the APT package manager. Use it if you prefer to uninstall it manually.
1. Remove the lumu-forwarder-agent package.
2. Remove the lumu repository file.
3. Remove the lumu repository public GPG key.
4. Finally, update your apt package index.
This is the manual uninstallation procedure of the Lumu Log Forwarder Agent, repository, and key on a system using the YUM package manager. Use it if you prefer to uninstall it manually.
1. Remove the lumu-forwarder-agent package.
2. Remove the lumu repository file.
3. Remove the lumu repository public GPG key. For this, you must list your rpm gpg keys:
4. Finally, update your yum package index.
This is the procedure to update the Lumu Agent for Linux. Given that Lumu provides its own repositories for the most common package managers, this process is a very simple process.
To update the Lumu Linux Agent in a Linux distribution that uses the apt package manager, simply execute the following steps:
1. Update your packages database.
2. Upgrade the lumu-forwarder-agent package.
Ubuntu/Debian Users must consider the following:
Due to the new version of OpenSSL being distributed with new versions of Ubuntu and Debian (OpenSSL v3.0.0), it is not possible to switch Lumu repositories between new and old versions of Ubuntu and Debian. Therefore, if your operating system uses an old version of OpenSSL (OpenSSL v1.0.0) and you do a major system update, it is necessary to reinstall the Lumu repository, and therefore, reinstall the agent. To do so, please refer to our installation guide.
To update the Lumu Linux Agent in a Linux distribution that uses the dnf and/or the yum package manager, simply run the update command; use the dnf tool if you use Fedora, or yum if you use RHEL.
The Lumu Agent for Linux includes an application for support purposes. You can use this application to troubleshoot, configure and get agent information. The log-forwarder-support application is available from any part of the system because it is registered in the PATH.
To use the log-forwarder-support application, you must enter an option and, if necessary, an argument for that option. The table below lists the available support options for the Lumu Linux Agent.
Option | Description |
-h, --help | Displays help with command line options. |
-v, --version | Displays version information. |
-c, --check | Displays agent status. |
-s, --status | Displays the last status message. |
--activate <ACTIVATION CODE> | Request server to validate activation code. |
--proxy-list <PROXY LIST> | Set the proxy list configuration to the provided argument. |
--clear-proxy-list | Removes proxy list configuration. |
--log-level <LOG LEVEL> | Change agent log level. Available levels: debug, info, warning, error. |
--get-id | Displays agent ID. |
This section shows you how to configure the Lumu Linux Agent to use a custom list of HTTP proxies. This can be achieved through the lumu-agent-support application that is installed along with the agent. You can use more than one proxy if it’s required by your business requirements.
Configure a Proxy List
To configure a proxy use the --proxy-list option from the log-forwarder-support application with the following syntax:
If you wish to add more than one proxy, separate them using a semicolon as follows:
Remove Proxy Configuration
If you need to remove the proxy configuration from your Lumu Linux Agent settings, use the --clear-proxy-list option from the log-forwarder-support application.
You can quickly validate that the agent has been installed and activated correctly, and that it is sending traffic to Lumu for analysis. Just run the following commands:
This is the expected result when the agent is running: