Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Red horizontal line Shadowbook #73

Open
hattek opened this issue Apr 26, 2019 · 0 comments
Open

Red horizontal line Shadowbook #73

hattek opened this issue Apr 26, 2019 · 0 comments

Comments

@hattek
Copy link

hattek commented Apr 26, 2019

Fresh installation of Ubuntu server 16.04
Oracle Java 11
ES 5.2.2
Cloned Hippocampe from github.com/CERT-BDF/Hippocampe.git

Fired up hippocampe, and just as a wanted to click on the shadowbook button a red horizontal line appears underneath and disappears after a few seconds.

Note, below outputs are with ES 5.1.2. I've also tried it with ES 5.2.2 but again with exactly the same problem.

Any ideas how to run shadowbook with any errors?

{
"name" : "B35P-Wm",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "q9JThqlIT5u4LQTexCRZvA",
"version" : {
"number" : "5.1.2",
"build_hash" : "c8c4c16",
"build_date" : "2017-01-11T20:18:39.146Z",
"build_snapshot" : false,
"lucene_version" : "6.3.0"
},
"tagline" : "You Know, for Search"
}

2019-04-26 09:40:00,395 :: services.modules.common.ES :: INFO :: ES.checkES launched
2019-04-26 09:40:00,532 :: services :: INFO :: type service requested
2019-04-26 09:40:00,532 :: services.modules.common.ES :: INFO :: ES.checkES launched
2019-04-26 09:40:00,536 :: services :: INFO :: sizeByType service requested
2019-04-26 09:40:00,537 :: services.modules.common.ES :: INFO :: ES.checkES launched
2019-04-26 09:40:00,540 :: services.modules.common.ES :: INFO :: ES.checkData launched
2019-04-26 09:40:00,542 :: services :: INFO :: sizeBySources service requested
2019-04-26 09:40:00,557 :: services.modules.common.ES :: INFO :: []
2019-04-26 09:40:00,558 :: services.modules.common.ES :: INFO :: ES.checkData launched
2019-04-26 09:40:00,560 :: services.modules.common.ES :: INFO :: ['sourceType']
2019-04-26 09:40:00,561 :: services.modules.common.ES :: INFO :: ES.checkES launched
2019-04-26 09:40:00,571 :: services.typeIntel :: INFO :: typeIntel.main launched
2019-04-26 09:40:00,579 :: services.modules.common.ES :: INFO :: index hippocampe exists but type source does not
2019-04-26 09:40:00,579 :: services :: INFO :: monitorSources service requested
2019-04-26 09:40:00,580 :: services.modules.common.ES :: INFO :: ES.checkData launched
2019-04-26 09:40:00,580 :: services.modules.common.ES :: INFO :: ['sourceType']
2019-04-26 09:40:00,579 :: services :: ERROR :: no data
2019-04-26 09:40:00,580 :: services.modules.common.ES :: INFO :: ES.checkES launched
2019-04-26 09:40:00,595 :: services.typeIntel :: INFO :: typeIntel.main end
2019-04-26 09:40:00,602 :: services.modules.common.ES :: INFO :: ES.checkData launched
2019-04-26 09:40:00,603 :: services.modules.common.ES :: INFO :: ['sourceType']
2019-04-26 09:40:00,606 :: services.modules.common.ES :: INFO :: index hippocampe exists but type source does not
2019-04-26 09:40:00,606 :: services :: ERROR :: no data
2019-04-26 09:40:00,613 :: services :: INFO :: type service requested
2019-04-26 09:40:00,613 :: services.modules.common.ES :: INFO :: ES.checkES launched
2019-04-26 09:40:00,625 :: services.modules.common.ES :: INFO :: ES.checkData launched
2019-04-26 09:40:00,625 :: services.modules.common.ES :: INFO :: []
2019-04-26 09:40:00,626 :: services.modules.common.ES :: INFO :: index hippocampe exists but type source does not
2019-04-26 09:40:00,626 :: services :: ERROR :: no data
2019-04-26 09:40:00,633 :: services.typeIntel :: INFO :: typeIntel.main launched
2019-04-26 09:40:00,654 :: services.typeIntel :: INFO :: typeIntel.main end
2019-04-26 09:40:22,546 :: services :: INFO :: shadowbook service requested
2019-04-26 09:40:22,546 :: services.modules.common.ES :: INFO :: ES.checkES launched
2019-04-26 09:40:22,551 :: services.shadowbook :: INFO :: shadowbook.initJob launched
2019-04-26 09:40:22,578 :: services.shadowbook :: ERROR :: search() got an unexpected keyword argument 'doc_type'
Traceback (most recent call last):
File "/opt/Hippocampe/core/services/shadowbook.py", line 80, in initJob
nbOngoingJob = job.searchOngoingJob()
File "/opt/Hippocampe/core/services/modules/shadowbook/objects/Job.py", line 76, in searchOngoingJob
nbOngoingJob = self.search()
File "/opt/Hippocampe/core/services/modules/shadowbook/objects/ObjToIndex.py", line 67, in search
self.resSearch = self.es.search(index = self.indexNameES, doc_type = self.typeNameES, body = self.docSearch)
File "/home/ubuntu/.local/lib/python2.7/site-packages/elasticsearch/client/utils.py", line 84, in _wrapped
return func(*args, params=params, **kwargs)
TypeError: search() got an unexpected keyword argument 'doc_type'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant