End-of-Life (EoL)
Install Cortex XSOAR with Elasticsearch
Verify the following information and requirements
before you install Cortex XSOAR with Elasticsearch.
- Your deployment meets the minimum system requirements.
- You have root access.
- Elasticsearch 7.x is installed. Elasticsearch should not be installed on the same server as Cortex XSOAR.
- The production server has Python 2.7 or 3.x.
Elasticsearch is a distributed, open source search and
analytics engine for all types of data. It enables processing and
storing large amounts of data. In this version of Cortex XSOAR,
indicators and audits are stored in Elasticsearch while other objects
are stored in the Cortex XSOAR’s Bolt DB.
The following diagram
depicts a Cortex XSOAR environment with Elasticsearch.

The
following provides instructions for installing a new Cortex XSOAR
environment with Elasticsearch.
- Download the server package from the link you received from Cortex XSOAR Support.demistoserver.xxxx.sh
- (Optional)If you are deploying Cortex XSOAR using a signed installer (GPG), you need to import the GPG public key that was provided with the signed installer.For example, you can use therpm --import public.keycommand to import the public key into the local GPG keyring. Note that each operating system has specific requirements.
- (Optional)If you are deploying Cortex XSOAR using a signed installer (GPG) you might need to manually install themakeselfpackage by running theyum install makeselfcommand.
- Run thechmod +x demistoserver-xxxx.shcommand to convert the.shfile to an executable file.
- To install the app server with Elasticsearch, run one of the following commands:
- If using username and password authentication:sudo ./demistoserver-X.sh -- -elasticsearch-url=<elastic search url address> -elasticsearch-username=<the elasticsearch user name> -elasticsearch-password=<the elasticsearch password>
- If using API key authentication:sudo ./demistoserver-X.sh-- -elasticsearch-url=<elastic search url address> -elasticsearch-api-key=<the elasticsearch API key>
FlagTypeDescription-elasticsearch-urlStringElasticsearch URL addresses (comma-separated). For example,http://test1:9200,http://test2:9200-elasticsearch-api-keyStringThe Elasticsearch API key, which should be used in licensed versions.Note:If you use this flag, you do not need to use the-elasticsearch-usernameand-elasticsearch-passwordflags.-elasticsearch-usernameStringThe Elasticsearch username. This flag is used with the-elasticsearch-passwordflag.Note:If you use this flag, you do not need to use the-elasticsearch-urlflag.-elasticsearch-passwordStringThe Elasticsearch password. This flag is used with the-elasticsearch-usernameflag.Note:If you use this flag, you do not need to use the-elasticsearch-urlflag.-elasticsearch-proxyBooleanWhether to use a proxy when communicating with Elasticsearch. Can betrueorfalse. Default isfalse.-elasticsearch-insecureBooleanWhether to trust any certificate when communicating with Elasticsearch. Can betrueorfalse. Default istrue.-elasticsearch-timeoutIntegerThe amount of time (in seconds) before Elasticsearch times out. Default is 20 seconds.
Recommended For You
Recommended Videos
Recommended videos not found.