Closed asgharali1 closed 2 years ago
Ubuntu: Ubuntu 20.04.3 LTS – m5.xlarge – volume size 50GB Cortex: 3.1.4-1 Git Version: 2.25.1 Elasticsearch: 7.17.0
Elasticsearch Directory: /etc/elasticsearch/elasticsearch.yml
cluster.name: <Name of the cluster>
node.name: <IP>
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
network.host: 0.0.0.0
http.port: 9200
cluster.initial_master_nodes:
- <IP>
sudo /bin/systemctl daemon-reload
sudo systemctl enable elasticsearch.service
sudo systemctl start elasticsearch.service
sudo systemctl status elasticsearch.service
service elasticsearch restart
ps -ef|grep elasticsearch
Cortex configuration file Directory: cd /etc/cortex
Generate play.http.secret.key CLI Command: $(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 64 | head -n 1)
vim /etc/cortex/application.conf
play.http.secret.key="<Input Generated Key here>"
ElasticSearch index = cortex uri = http://127.0.0.1:9200/
ANALYZERS urls = [ "https://download.thehive-project.org/analyzers.json" "/opt/Cortex-Analyzers/analyzers" ]
# responder location (same format as analyzer.urls)
urls = [ "https://download.thehive-project.org/responders.json" "/opt/Cortex-Analyzers/responders" ]
sudo service cortex stop
sudo service cortex status
sudo service cortex start
I am trying to create Cortex admin user, and I am receiving the following exception. Please advice.