How to Install XpoLog Center 7 on Amazon Linux 2

In this quick introduction guide, we will learn how to install XpoLog Center 7 on a standalone, bare metal Amazon Linux 2 EC2 instance.

The steps described here are generally applicable for other RHEL-based Linux distros like CentOS.

* You might also be interested in our Linux analysis app. Click and discover the immediate insights, reports, and dashboards we offer.

Demo System

For our demonstration, we are using a single EC2 instance running in a VPC with a single public subnet.

The instance is publicly accessible and has an elastic IP associated with it.

The instance type is m4.2xlarge, which has 8 vCPUs and 32 GB RAM.

Optimal memory size for an XpoLog machine depends on the ingested log volume per day and retention period.

Generally, XpoLog recommends memory size not less than 8 GB and no more than 64 GB. For CPU, standard XpoLog machines utilize 4 to 8 cores.

We have increased the root volume of the EC2 instance to 500 GB. The overall configuration for our demo system is therefore sufficient for moderate workloads.

The security group attached to the instance allows incoming traffic on ports 22 (SSH), 30303 (XpoLog web access) and 30443 (XpoLog secured web access).

The security group attached to the instance allows incoming traffic on ports 22 (SSH), 30303 (XpoLog web access) and 30443 (XpoLog secured web access).

Other ports like 25 (needed for SMTP server access), 162 (needed for SNMP traps) or DB ports have not been added to the security group because those features are not going to be used here.

A production XpoLog environment will be quite different from this setup.

In a typical production setup, an XpoLog instance:

  • May reside in a private subnet or the network edge.
  • Maybe accessible from the corporate network as well as the outside world. In the first case, network traffic rules would allow traffic from one or more internal IP address ranges. In the second scenario, users will need to log in with two-factor authentication or similar security features.
  • Maybe use larger storage volume.

The purpose of this simplified setup is to demonstrate the installation process only.

Downloading XpoLog

You can download the XpoLog binary to a local directory from this URL: https://www.xpolog.com/download/.

For Amazon Linux 2:

  • Choose  Linux 64 from the drop-down list.
  • Provide your business e-mail address, name and select the checkbox to accept XpoLog terms and conditions.
  • Click the “DOWNLOAD FREE”  button.

Download XpoLog log analyzer, log viewer, log management tool

Once downloaded, you can uncompress the installer and copy the executable file (.bin extension) to the target machine using scp (Mac) or a tool like WinSCP (Windows).

You can also download the XpoLog installer directly from the target machine. To do this:

  • Log into the instance as ec2-user and switch to root user or a user with root privileges.
  • Run the following command to download XpoLog 64-bit Linux installer:

    wget http://get.xpolog.com/downloads/xpolog/GA/linux/XpoLogCenterSetup-64.bin.gz
  • Next, uncompress the installer:

    gzip -d XpoLogCenterSetup-64.bin.gz

Once the binary file is created (copied from the local machine or directly downloaded and uncompressed), it has to be made an executable. Run this command to do so:

chmod +x XpoLogCenterSetup-64.bin

Installing XpoLog

Note

The XpoLog installer we have downloaded has Java embedded in it. It will set up the runtime during installation.

Sometimes customers have to use specific Java distributions as part of a configuration standard.

XpoLog comes with a generic installer that does not have JVM. You can also install that on Linux, provided there is already Java version 1.8 or later running on the machine. During installation, XpoLog will prompt for the Java location.

  • While still logged in as the root user or a user with root privileges, run the following command to start XpoLog installer:

    ./XpoLogCenterSetup-64.bin
  • The following messages will appear:

This message will appear after downloading

  • Press Enter as prompted. The wizard will ask about the installation directory. In this case, we want the directory to be created under the root folder:

Create a directory under the root folder

  • The installer double checks the location. Type Y if you agree :

the installer double checks the location

  • Next, the wizard wants to know if it should start XpoLog after installing it. Press Enter to accept the default (Yes)

Choose to immediately start XpoLog after the installation

  • The pre-installation summary is displayed. Press Enter to begin the installation:

This message will just before finishing XpoLog installation over amazon linux 2

  • The installation progress will be shown. Once successfully completed, the wizard will prompt to press Enter to exit:

installation progress pop up

  • Press Enter to exit the wizard.

Accessing XpoLog

To see if XpoLog Center 7 is running, open a browser window and go to this address:

http://>:30303

The main XpoLog Center interface will come up:

XpoLog Interface After Install

Conclusion

As you can see, installing XpoLog on Linux is very simple.

Almost all the steps described here are the same for other flavors of Linux.

As an administrator, your next task will be performing a number of post-install configurations.

This is what we will see in the next quick introduction guide.

Read more about:

table of comparison between ELK to XPLG automated log management tool
View how raw data from the Champions League easily turn into insights
Troubleshoot your Windows task scheduler in 5 minutes! XPLG automated log analyzer and problem detection
table of comparison between ELK to XPLG automated log management tool