Skip to main content Skip to complementary content

Installing Filebeat from the RPM repository (deprecated)

Availability-noteDeprecated
Install Filebeat with its default configuration using RPM.

Before you begin

  • Import the PGP key to validate the signature of the installation files. See Importing the PGP key (deprecated).
  • Filebeat requires Java 11. You can use either Oracle Java or OpenJDK.
  • Make sure that the JAVA_HOME variable is correctly set to the Java home directory. For example: /usr/java/jdk11.0.13-amd64.
    Information noteTip: You can set it in the /root/.bashrc file by adding the following line to it: export JAVA_HOME=$(dirname $(dirname $(readlink -e /usr/bin/java))).

About this task

The default installation also installs the following dependencies:

  • coreutils
  • which
  • sed
  • gawk

In case of custom installation, these dependencies must be installed beforehand.

Procedure

  1. Create a file called talend.repo in the /etc/yum.repos.d directory, containing the following configuration:
    [talend-8.0.1]
    name=Talend 8.0.1
    baseurl='https://<user>:<password>@www.opensourceetl.net/rpms/talend/8.0.1/base/x86_64/'
    enabled=1
    gpgcheck=1
    gpgkey=http://www.opensourceetl.net/rpms/GPG-KEY-talend

    Credentials (user and password) are provided in the license email sent by Talend.

    Your repository is now ready for use.
  2. Install Filebeat.
    • To install the package with its default configuration, use the following command:
      sudo -E yum install talend-filebeat

      This command does not require any additional parameter. It installs the package and its dependencies with their default configuration in the default /opt/talend directory.

    • If the default parameters do not match your requirements, install the package with a custom configuration. To do so, you must first install the dependencies listed above, then you can install the package with custom parameters using the RPM command.

      For example, the following command installs the module in a specific directory:

      sudo -E rpm -i --prefix=<InstallPath> https://<user>:<password>@www.opensourceetl.net/rpms/talend/8.0.1/base/x86_64/talend-filebeat-8.0.1-202211231200.x86_64.rpm

      The list of configuration parameters is detailed in Filebeat RPM configuration parameters (deprecated).

    The package is now installed. You can start the service and use it.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!