Elasticsearch Installation
Install Cortex XSOAR 6.15 on a single server with Elasticsearch.
The following provides instructions for installing a new Cortex XSOAR environment with Elasticsearch.
Prerequisites for installing Cortex XSOAR with Elasticsearch
Verify the following information and requirements before you install Cortex XSOAR with Elasticsearch.
A Customer Support Portal account.
Set up your Customer Support Portal account. For more information, see How to Create Your CSP User Account.
When you create a Customer Support Portal account, you can set up two-factor authentication (2FA) to log in using email, Okta Verify, or Google Authenticator for non-FedRAMP accounts. For more information, see How to Enable a Third Party IdP.
The following roles:
RoleDetailsCSP role
The Super User role is assigned to your Customer Support Portal account. The user who creates the account receives this role.
Cortex role
You must have the Account Admin role. The first Customer Support Portal Super User to access Cortex Gateway receives Account Admin permissions automatically.
Log in to Cortex Gateway after creating the account. Download the image file and license. Repeat these tasks for each tenant.
Your deployment meets the Elasticsearch System Requirements.
You have root access.
Elasticsearch is installed. Elasticsearch should not be installed on the same server as Cortex XSOAR.
The production server has Python 2.7 or 3.x.
If you are installing on an Oracle Linux operating system, you need to manually Install Docker.
If you are deploying a signed installer, you need to import the public key to the operating system. The public key is valid for six months.
Installation file structure
By default, the .sh file is in /home/<user-name>. The .sh file installs the demistoserver_xxxxx.amd64.deb file in the /usr/local/demisto folder. You can change the default folder, if necessary.
For information about the default installation file structure, see Install Cortex XSOAR with Bolt Database.
Install Cortex XSOAR with Elasticsearch
Download the installation package and license
Log in to Cortex Gateway.
In the Available for Activation section, use the serial number to locate the tenant to download.
By default, the Production-Standalone license is selected. You can also select Dev.
If you want to use a production and a development tenant with a private remote repository, select Dev. If you don't select it now, you can install a development tenant later.
Select Download On Prem.
Select Next.
Under Choose Download Option, select Installer.
Select the checkbox to agree to the terms and conditions of the license and select Download.
Two files download: the
demistoserver-xxxxx.shinstaller file and a zipped JSON license file.(Optional) If you are deploying Cortex XSOAR using a signed installer (GPG), import the GPG public key provided with the signed installer. Open a ticket with Palo Alto Networks support here to get the public key.
For example, use the
rpm --import public.keycommand to import the public key into the local GPG keyring. Each operating system has specific requirements.(Optional) If you are deploying Cortex XSOAR using a signed installer (GPG), you might need to manually install the
makeselfpackage. Runyum install makeself.
Run the installer
Install the app server with Elasticsearch using one of the following commands:
Use username and password authentication:
sudo ./demisto.sh -- -elasticsearch-url=<elasticsearch-url> -elasticsearch-username=<elasticsearch-username> -elasticsearch-password=<elasticsearch-password>Use API key authentication:
sudo ./demisto.sh -- -elasticsearch-url=<elasticsearch-url> -elasticsearch-api-key=<elasticsearch-api-key>
Use the following flags:
-elasticsearch-url
String
Elasticsearch URL addresses (comma-separated). For example, http://test1:9200,http://test2:9200
-elasticsearch-api-key
String
The Elasticsearch API key, which should be used in licensed versions.
Note: If you use this flag, you do not need to use the -elasticsearch-username and -elasticsearch-password flags.
-elasticsearch-username
String
The Elasticsearch username. This flag is used with the -elasticsearch-password flag.
Note: If you use this flag, you do not need to use the -elasticsearch-api-key flag.
-elasticsearch-password
String
The Elasticsearch password. This flag is used with the -elasticsearch-username flag.
Note: If you use this flag, you do not need to use the -elasticsearch-api-key flag.
-elasticsearch-proxy=
Boolean
Whether to use a proxy when communicating with Elasticsearch. Can be true or false. Default is false.
-elasticsearch-insecure=
Boolean
Whether to trust any certificate when communicating with Elasticsearch. Can be true or false. Default is false.
-elasticsearch-timeout
Integer
The amount of time (in seconds) before Elasticsearch times out. Default is 20 seconds.
Accept the EULA and add the information when prompted.
Enter the Server HTTPS port. The default is
443.Enter Install Cortex XSOAR with Elasticsearch details, such as the URL and timeout.
Type the Admin username. The default is
admin.Type the password. The default is
admin.
Verify the installation
After the installation has completed, do the following:
Confirm that the Cortex XSOAR server status is active. Run
systemctl status demisto.If the server is not active, run
systemctl start demistoto start the server.Confirm that the Docker service status is active. Run
systemctl status docker.In a web browser, go to
https://serverURL:portto verify that Cortex XSOAR was successfully installed.When you open Cortex XSOAR for the first time, add the license.
Last updated
Was this helpful?
