TravisFSmith / SweetSecurity

Network Security Monitoring on Raspberry Pi type devices
Apache License 2.0
777 stars 190 forks source link

Error in "Importing Kibana Index Patterns #41

Open jamitupya opened 6 years ago

jamitupya commented 6 years ago

for the life of me i cant figure out how to get this resolved and unfortunately cant copy text from this environment.

Basically i'm running this up as a web-server only, on Deb Jessie.

screen shot 2018-05-17 at 1 18 29 pm

Key error i receive now is a TIMEOUT connecting to localhost:9200 when importing the Patterns.

i've tried;

Anyone have any other ideas?

cloudstrifeedge commented 6 years ago

maybe you can give it a try:

1.delete elasticsearch & kibana manually.

2.make sure you install these packages successfully:

sudo pip install elasticsearch
sudo pip install requests
sudo pip install flask-mail
sudo pip install flask_wtf
sudo pip install cryptography --upgrade
sudo pip install pyopenssl --upgrade

as you can see in line 29 & 48 in file: SweetSecurity/install/packages.py

os.popen('sudo pip install elasticsearch 2>&1').read()
os.popen('sudo pip install requests 2>&1').read()
os.popen('sudo pip install flask-mail 2>&1').read()
os.popen('sudo pip install flask_wtf 2>&1').read()
os.popen('sudo pip install cryptography --upgrade 2>&1').read()
os.popen('sudo pip install pyopenssl --upgrade 2>&1').read()

there's no guarantee to install these packages successfully because they're non-blocking tasks.

3.install the correct lib: ( if you don't use Debain linux, go to next step)

sudo apt-get remove libssl-dev
sudo apt-get install libssl1.0-dev

4.run setup.py again.

hope it helps, good luck