GUIDE 3 – XPLG on Windows Server
PortX/XpoLog on Windows Server 2019 Installation

In this chapter, you will learn how to install PortX/XpoLog on a standalone, bare-metal Windows Server 2019 instance.

The steps described here are generally applicable for other versions of Windows Server between 2008 R2 and 2016.

* Learn more about PortX’s Parsing, Collection, and Forwarding.
* Learn more about XpoLog’s Windows analysis app.

* Learn more about XpoLog log management tool.

Demo Server

For simplicity, the setup assumes PortX/XpoLog will be installed on a single EC2 instance, running in a single public subnet in a non-default VPC. 

The instance will be publicly accessible and have an associated elastic IP. 

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

The optimal memory size for a PortX/XpoLog machine depends on the ingested log volume per day and retention period.

Generally, a memory size not less than 8 GB and no more than 64 GB is recommended. Standard PortX/XpoLog machines utilize 4 to 8 CPU cores. 

Increasing the root volume size to 500 GB will ensure the configuration is suitable for moderate workloads.

The security group attached to the instance should allow incoming traffic on ports 3389 (RDP), 30303 (XpoLog web access), and 30443 (XpoLog secured web access).

It also allows HTTP/S access.

The security group attached to the instance should allow incoming traffic on ports 3389 (RDP), 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 PortX/XpoLog environment will be quite different from this setup. In a typical production setup, a PortX/XpoLog instance:

  • May reside in a private subnet or the network edge.
  • May be 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.
  • May use a larger storage volume.

The simplified setup is for demonstration purposes only.

Downloading PortX/XpoLog | XPLG

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

For Windows Server 2019:

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

Installing PortX/XpoLog | XPLG

Note:

The PortX/XpoLog installer binary has already Java embedded in it, and so the installation process will automatically set up the runtime.

However, it is also possible to manually install and configure Java before installing PortX/XpoLog.

This is typically the case for customers who need to use a specific Java distribution as part of an organization-wide configuration standard.

PortX/XpoLog comes with a generic installer without built-in JVM.

During setup, the installer will prompt for the Java location which then has to be provided.

Please note that PortX/XpoLog supports Java version 1.8 or later.

  • Once downloaded, double click on the installer (XpoLogCenterSetup-64.exe)
  • The installer will uncompress

install Anywhere wizard will show a message that it will guide through the installation of XpoLog Center 7

  • Next, the InstallAnywhere wizard will show a message that it will guide through the installation of PortX/XpoLog – Click Next.how to install XpoLog on a window server tutorial
  • In the next screen, the wizard asks to specify the install location. The default path is C:Program FilesXpoLogCenter7. In this exercise, accept the default path and click Next.

specify the install location

  • The next screen asks where the installer should create product icons. Accept the default (a new Program Group named XpoLogCenter7):

choose a shortcut folder

  • The next screen prompts for the XpoLog Center 7 Windows service name. Accept the default name and select the checkbox to start XpoLog after the installation:

advanced setting

  • The wizard now shows the pre-installation summary. Click Install:

Pre installation summary

  • The installation progress is shown:

installation in progress

  • An installation complete message is shown when the process successfully completes. Click Done to exit the installer:

installation complete

Once the installer completes, the main PortX/XpoLog interface opens in a browser window:

XpoLog Interface After Install

Configuring Windows Firewall for PortX/XpoLog | XPLG

If Windows Defender Firewall is running in the server, PortX/XpoLog user interface will not be accessible from the browser.

To address this, add two rules to Windows Firewall to allow traffic through ports 30303 and 30443.

The images below show the configuration of a new rule for port 30303:

XpoLog configuration guide - windows server

step 2

windows server XpoLog configuration guide

Accessing PortX/XpoLog After Installation

To see if PortX/XpoLog is running, open a browser window and navigate to this address:

Nevigate to this address to access XpoLog

The main PortX/XpoLog interface will come up:

Open XpoLog and stream your logs

Conclusion

As you can see, installing PortX/XpoLog on Windows is very simple.

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

All chapters:

You might also like:

Aquick introduction, logstash plugins, filters, logstash inputs, output, logstash alternatives
Troubleshoot your Windows task scheduler in 5 minutes! XPLG automated log analyzer and problem detection